You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

kuantan.html 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
  6. <!-- CSP is a PITA ;). Disabled, don't try this at home!-->
  7. <meta http-equiv="Content-Security-Policy" content="">
  8. <title>SIBS 2024</title>
  9. <link rel="stylesheet" href="../node_modules/bootstrap/dist/css/bootstrap.min.css">
  10. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-abc123..." crossorigin="anonymous" />
  11. <link rel="stylesheet" href="../css/app.css">
  12. <link rel="stylesheet" href="../css/animate.css">
  13. </head>
  14. <body>
  15. <section class="section animate__animated animate__fadeIn" style="max-height: 100vh;">
  16. <div class=""
  17. style="position: relative;;z-index: 3;background-color: #1F3F6D; min-height: 50px; display: flex; align-items: center;padding-left: 100px;">
  18. <h6 style="color: white;margin-right: 1em;" class=""><a style="color: white;" href="../index.html"><i
  19. class="fas fa-chevron-left"></i></a></h6>
  20. <h6 style="color: white;">Kuantan</h6>
  21. </div>
  22. <div class="text-center pt-5"
  23. style="position: relative;z-index: 3;background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 100px;">
  24. <button id="pembangun_btn" type="button" class="p-1"
  25. style="font-weight: 500; border-top: 4px solid #BF3030; border-right: none; border-bottom: none; border-left: none; margin: 0; background-color: transparent;">&emsp;&emsp;Pembangunan&emsp;&emsp;</button>
  26. <button id="penternakan_btn" type="button" class="p-1"
  27. style="font-weight: 500; border-top: 4px solid #3B47E0; border-right: none; border-bottom: none; border-left: none; margin: 0; background-color: transparent;">&emsp;&emsp;Penternakan&emsp;&emsp;</button>
  28. <button id="industri_btn" type="button" class="p-1"
  29. style="font-weight: 500; border-top: 4px solid #32A740; border-right: none; border-bottom: none; border-left: none; margin: 0; background-color: transparent;">&emsp;&emsp;Industri&emsp;&emsp;</button>
  30. </div>
  31. <div class="text-center pt-1"
  32. style="position: relative;z-index: 1;background-color: white; min-height: 50px; display: flex; justify-content: center; align-items: center; padding-left: 0px;">
  33. <div class="pt-5 position-relative" style="width: 600px;height: 100px;margin-top: -200px;margin-left: -150px;">
  34. <svg class="map-svg" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg"
  35. xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="400 130 650 650"
  36. style="enable-background: new 0 0 1080 1080" xml:space="preserve">
  37. <g>
  38. <a href="#" data-area="kuantan">
  39. <path id="kuantan" class="pahang-barat" d="M661.7,445.8c0-5-4.4-10-5.4-15c1.2-3.7,2.3-7.4,5.6-10c8.7-2.7,5.4-7.7,2.5-12.6c3.6-8.3,10.1-13.8,17.7-18.2
  40. c5.4,2.7,6-2.4,8-5c4.3,4.1,6.3,12.9,12.7,12.9c1.9,0,4.3-0.8,7.2-2.8c5.3,0.2,9.1-0.6,5.4-7.1c0.3-4.1,2.1-7.6,4.7-10.7
  41. c1.1,1.7,3.4,2.2,4.2,0.8c6-10.5,17.6-12.8,27-17.6c9.9-5.1,8-8.3,1.6-14.5c-2.6,3.1-1.2,7.5-4.9,9h0c0.1-4.2,0.3-8.4,0.4-12.6
  42. c9.8-5.6,8.6-10.7-0.6-15.6c0,0,0,0,0,0c1.3-2.3,2.5-4.5,3.8-6.8c0,0,0,0,0,0c1.5-0.9,3-1.8,4.6-2.7c0.4,4,2.9,3.3,5.2,2
  43. c1.9-1.1,5.1-2,2-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-0.4-5.8-0.9-8.7c-0.2-0.9-1.2-1.6-1.9-2.5c-0.8,1.3-1.6,2.7-2.3,4c-2.7-4.3-5.3-8.5-8-12.8
  62. C660.3,451.3,661.7,448.5,661.7,445.8z" />
  63. </a>
  64. </g>
  65. </svg>
  66. <!--Pembangunan-->
  67. <div class="plot animate__animated animate__bounceIn pembangunan-point position-absolute" style="background-color: #BF3030; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:228px;left:505px"></div>
  68. <div class="plot animate__animated animate__bounceIn pembangunan-point position-absolute" style="background-color: #BF3030; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:297px;left:503px"></div>
  69. <div class="plot animate__animated animate__bounceIn pembangunan-point position-absolute" style="background-color: #BF3030; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:335px;left:500px"></div>
  70. <div class="plot animate__animated animate__bounceIn pembangunan-point position-absolute" style="background-color: #BF3030; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:327px;left:484px"></div>
  71. <div class="plot animate__animated animate__bounceIn pembangunan-point position-absolute" style="background-color: #BF3030; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:318px;left:468px"></div>
  72. <div class="plot animate__animated animate__bounceIn pembangunan-point position-absolute" style="background-color: #BF3030; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:371px;left:381px"></div>
  73. <div class="plot animate__animated animate__bounceIn pembangunan-point position-absolute" style="background-color: #BF3030; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:374px;left:355px"></div>
  74. <!-- Penternakan -->
  75. <div class="plot animate__animated animate__bounceIn penternakan-point position-absolute hidden" style="background-color: #3B47E0; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:357px;left:394px"></div>
  76. <!-- Industri -->
  77. <div class="plot animate__animated animate__bounceIn industri-point position-absolute hidden" style="background-color: #32A740; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:281px;left:448px"></div>
  78. <div class="plot animate__animated animate__bounceIn industri-point position-absolute hidden" style="background-color: #32A740; width: 0.8rem; height: 0.8rem;border: 2px solid white;border-radius: 600px;top:274px;left:501px"></div>
  79. </div>
  80. </div>
  81. <div id="pembangun_plot" class="position-relative content-div animate__animated animate__fadeIn" style="z-index: 3;background-color: rgb(0, 0, 0, 0);">
  82. <div class="text-center pt-5" style="display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
  83. <h6>Pembangunan</h6><br>
  84. </div>
  85. <div class="text-center pt-2 text-nowrap flex-wrap"
  86. style="position: relative;z-index: 3;background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
  87. <a href="../details/detail_hsd62438.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62438</a>
  88. <a href="../details/detail_hsd62441.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62441</a>
  89. <a href="../details/detail_hsd62442.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62442</a>
  90. <a href="../details/detail_hsd62443.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62443</a>
  91. <a href="../details/detail_hsd62495.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62495</a>
  92. <a href="../details/detail_hsd62497.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62497</a>
  93. <a href="../details/detail_hsd62503.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62503</a>
  94. <a href="../details/detail_hsd62504.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62504</a>
  95. <a href="../details/detail_hsd62520.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62520</a>
  96. <a href="../details/detail_hsm1225.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSM 1225</a>
  97. <a href="../details/detail_hsm1909.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSM 1909</a>
  98. <a href="../details/detail_hsm90298.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 90298</a>
  99. <a href="../details/detail_pm32006.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">PM 32006</a>
  100. </div>
  101. </div>
  102. <div id="penternakan_plot" class="position-relative content-div animate__animated animate__fadeIn hidden" style="z-index: 3;background-color: rgb(0, 0, 0, 0);">
  103. <div class="text-center pt-5" style="display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
  104. <h6>Penternakan</h6><br>
  105. </div>
  106. <div class="text-center pt-2 text-nowrap flex-wrap"
  107. style="position: relative;z-index: 3;background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
  108. <a href="../details/detail_hsd35309.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 35309</a>
  109. <a href="../details/detail_hsd41862.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 41862</a>
  110. <a href="../details/detail_hsd54735.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 54735</a>
  111. <a href="../details/detail_hsd54736.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 54736</a>
  112. <a href="../details/detail_hsd54737.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 54737</a>
  113. </div>
  114. </div>
  115. <div id="industri_plot" class="position-relative content-div animate__animated animate__fadeIn hidden" style="z-index: 3;background-color: rgb(0, 0, 0, 0);">
  116. <div class="text-center pt-5" style="display: flex; justify-content: left; align-items: left; padding-left: 100px;margin-top: 250px;">
  117. <h6>Industri</h6><br>
  118. </div>
  119. <div class="text-center pt-2 text-nowrap flex-wrap"
  120. style="position: relative;z-index: 3;background-color: white; display: flex; justify-content: left; align-items: left; padding-left: 100px; margin-top: 0;gap: 10px;padding-right: 100px;">
  121. <a href="../details/detail_hsd62437.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62437</a>
  122. <a href="../details/detail_hsd62510.html" class="button-23 mb-2 mr-2" style="background-color: #1F9027; color: white; border: none;" role="button">HSD 62510</a>
  123. </div>
  124. </div>
  125. </section>
  126. <script>
  127. document.getElementById('pembangun_btn').addEventListener('click', function () {
  128. showDiv('pembangun_plot');
  129. sessionStorage.setItem("prev-btn", 'pembangun_btn');
  130. showPoint('pembangunan-point');
  131. });
  132. document.getElementById('penternakan_btn').addEventListener('click', function () {
  133. showDiv('penternakan_plot');
  134. sessionStorage.setItem("prev-btn", 'penternakan_btn');
  135. showPoint('penternakan-point');
  136. });
  137. document.getElementById('industri_btn').addEventListener('click', function () {
  138. showDiv('industri_plot');
  139. sessionStorage.setItem("prev-btn", 'industri_btn');
  140. showPoint('industri-point');
  141. });
  142. function showDiv(divId) {
  143. var divs = document.getElementsByClassName('content-div');
  144. for (var i = 0; i < divs.length; i++) {
  145. divs[i].classList.add('hidden');
  146. }
  147. document.getElementById(divId).classList.remove('hidden');
  148. }
  149. function showPoint(plotClass) {
  150. var divs = document.getElementsByClassName('plot');
  151. for (var i = 0; i < divs.length; i++) {
  152. divs[i].classList.add('hidden');
  153. }
  154. var plots = document.getElementsByClassName(plotClass);
  155. for (var i = 0; i < plots.length; i++) {
  156. plots[i].classList.remove('hidden');
  157. }
  158. }
  159. if(sessionStorage.getItem("prev-btn")){
  160. let prev_btn = sessionStorage.getItem("prev-btn");
  161. let targetButton = document.getElementById(prev_btn);
  162. targetButton.click();
  163. }
  164. </script>
  165. <script>
  166. let kuantan = document.querySelector("#kuantan");
  167. addLabelText(kuantan, "Kuantan");
  168. function addLabelText(bgPath, labelText) {
  169. let bbox = bgPath.getBBox();
  170. let x = bbox.x + bbox.width / 2;
  171. let y = bbox.y + bbox.height / 2;
  172. // Create a <text> element
  173. let textElem = document.createElementNS(bgPath.namespaceURI, "text");
  174. // X axis
  175. if (labelText == "Bentong") {
  176. textElem.setAttribute("x", 286);
  177. } else if (labelText == "Pekan") {
  178. textElem.setAttribute("x", 870);
  179. } else if (labelText == "Cameron") {
  180. textElem.setAttribute("x", 75);
  181. } else {
  182. textElem.setAttribute("x", x);
  183. }
  184. // Y axis
  185. if (labelText == "Rompin") {
  186. textElem.setAttribute("y", 935);
  187. } else if (labelText == "Pekan") {
  188. textElem.setAttribute("y", 650);
  189. } else if (labelText == "Kuantan") {
  190. textElem.setAttribute("y", 440);
  191. } else if (labelText == "Cameron") {
  192. textElem.setAttribute("y", 130);
  193. } else if (labelText == "Highland") {
  194. textElem.setAttribute("y", 155);
  195. } else {
  196. textElem.setAttribute("y", y);
  197. }
  198. // Centre text horizontally at x,y
  199. textElem.setAttribute("text-anchor", "middle");
  200. // Give it a class that will determine the text size, colour, etc
  201. if (labelText == "Cameron" || labelText == "Highland") {
  202. textElem.classList.add("label-text-cameron");
  203. } else {
  204. textElem.classList.add("label-text");
  205. }
  206. // Set the text
  207. textElem.textContent = labelText;
  208. // Add this text element directly after the label background path
  209. bgPath.after(textElem);
  210. }
  211. </script>
  212. </body>
  213. </html>