Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link href="https://fonts.googleapis.com/css?family=Poiret+One&display=swap" rel="stylesheet">
  5. <style>
  6. body {
  7. background-color: white;
  8. }
  9.  
  10. h1 {
  11. color: black;
  12. text-align: center;
  13. font-size:50px;
  14. border: 10px solid black;
  15. font-family: TimesNewRoman;
  16. }
  17.  
  18. ul {
  19. list-style-type: none;
  20. margin: 0;
  21. padding: 0;
  22. overflow: hidden;
  23. background-color: #333;
  24. font-size: 20px;
  25. }
  26.  
  27. li {
  28. float: left;
  29. }
  30.  
  31. li a, .dropdown {
  32. display: inline-block;
  33. color: white;
  34. text-align: center;
  35. padding: 14px 16px;
  36. text-decoration: none;
  37. border: 4px solid #B1E4EE;
  38. }
  39.  
  40. li a:hover, .dropdown:hover .dropbtn {
  41. background-color: #B1E4EE;
  42. }
  43.  
  44. li.dropdown {
  45. display: inline-block;
  46. }
  47.  
  48. .dropdown-content {
  49. display: none;
  50. position: absolute;
  51. background-color:#f9f9f9;
  52. min-width: 160px;
  53. box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  54. z-index: 1;
  55. }
  56.  
  57. .dropdown-content a {
  58. color: black;
  59. padding: 12px 16px;
  60. text-decoration: none;
  61. display: block;
  62. text-align: left;
  63. }
  64.  
  65. .dropdown-content a:hover {background-color:#B1E4EE;}
  66.  
  67. .dropdown:hover .dropdown-content {
  68. display: block;
  69. }
  70. * {box-sizing: border-box;}
  71. body {font-family: Verdana, sans-serif;}
  72. .mySlides {display: none;}
  73. img {vertical-align: middle;}
  74.  
  75. /* Slideshow container */
  76.  
  77.  
  78. /* Caption text */
  79. .text {
  80. color: #f2f2f2;
  81. font-size: 15px;
  82. padding: 8px 12px;
  83. position: absolute;
  84. bottom: 8px;
  85. width: 100%;
  86. text-align: center;
  87. }
  88.  
  89. /* Number text (1/3 etc) */
  90. .numbertext {
  91. color: #f2f2f2;
  92. font-size: 12px;
  93. padding: 8px 12px;
  94. position: absolute;
  95. top: 0;
  96. }
  97.  
  98. /* The dots/bullets/indicators */
  99. .dot {
  100. height: 15px;
  101. width: 15px;
  102. margin: 0 2px;
  103. background-color: #bbb;
  104. border-radius: 50%;
  105. display: inline-block;
  106. transition: background-color 0.6s ease;
  107. }
  108.  
  109. .active {
  110. background-color: #717171;
  111. }
  112.  
  113. /* Fading animation */
  114. .fade {
  115. -webkit-animation-name: fade;
  116. -webkit-animation-duration: 1.5s;
  117. animation-name: fade;
  118. animation-duration: 1.5s;
  119. }
  120.  
  121. @-webkit-keyframes fade {
  122. from {opacity: .4}
  123. to {opacity: 1}
  124. }
  125.  
  126. @keyframes fade {
  127. from {opacity: .4}
  128. to {opacity: 1}
  129. }
  130.  
  131. /* On smaller screens, decrease text size */
  132. @media only screen and (max-width: 300px) {
  133. .text {font-size: 11px}
  134. }
  135. /* Set the size of the div element that contains the map */
  136. #map {
  137. min-height: 1500px; /* The height is 600 pixels */
  138. //width: 600%; /* The width is the width of the web page */
  139. }
  140. }
  141. div.gallery {
  142. margin: 5px;
  143. border: 1px solid #ccc;
  144. float: left;
  145. width: 180px;
  146. }
  147.  
  148. </style>
  149. </head>
  150. <body>
  151.  
  152. <center>
  153. <div class="gallery">
  154. <a target="_blank" href="symbol.jpg">
  155. </a>
  156. <img src="symbol.jpg" alt="Mountains" width="100" height="100">
  157. </div>
  158. </center>
  159.  
  160. <h1 style="background-color:white;">KEVINSVILLE HEALTH CARE MINISTRY</h1>
  161. <ul>
  162. <li><a href="#">Home</a></li>
  163. <li><a href= "more.html"="#">About Us</a></li>
  164. <li class="emergencies">
  165. <div class="dropdown">
  166. <span class="dropbtn">Emergencies</span>
  167. <div class="dropdown-content">
  168. <a href="#">Medicines</a>
  169. <a href="#">Ambulances</a>
  170. <a href="#">Manual Assistance at home</a>
  171. </div>
  172. <li class="emergencies">
  173. <div class="dropdown">
  174. <span class="dropbtn">Contacts</span>
  175. <div class="dropdown-content">
  176. <a href="#">Facebook</a>
  177. <a href="#">Linkedin</a>
  178. <a href="#">Twitter</a>
  179. </div>
  180. <li><a href= "table.html"="#">Survey</a></li>
  181. </li>
  182. </ul>
  183. <p><b><a href="MAPinSITE.html"></a></b></p>
  184. <br>
  185. <center>
  186. <div class="gallery">
  187. <a target="_blank" href="https://i.postimg.cc/PxFRyWNP/bg-final.gif">
  188. </a>
  189. <img src="https://i.postimg.cc/PxFRyWNP/bg-final.gif" alt="Mountains" width="1000" height="600">
  190. </div>
  191.  
  192. <div style="padding-top: 100px;">
  193. </div>
  194. <h1 style="background-color: white;">TRACK THE NEAREST AMBULANCE</h1>
  195. <!--The div element for the map -->
  196. <div id="map"></div>
  197. </center>
  198. <script>
  199.  
  200. var xmlhttp = new XMLHttpRequest();
  201. xmlhttp.onreadystatechange = function() {
  202. if (this.readyState == 4 && this.status == 200) {
  203. var myObj = JSON.parse(this.responseText);
  204. }
  205. };
  206. xmlhttp.open("GET", ""json_demo.txt"", true);
  207. xmlhttp.send();
  208.  
  209.  
  210.  
  211.  
  212. var slideIndex = 0;
  213. showSlides();
  214.  
  215. function showSlides() {
  216. var i;
  217. var slides = document.getElementsByClassName("mySlides");
  218. var dots = document.getElementsByClassName("dot");
  219. for (i = 0; i < slides.length; i++) {
  220. slides[i].style.display = "none";
  221. }
  222. slideIndex++;
  223. if (slideIndex > slides.length) {slideIndex = 1}
  224. for (i = 0; i < dots.length; i++) {
  225. dots[i].className = dots[i].className.replace(" active", "");
  226. }
  227. slides[slideIndex-1].style.display = "block";
  228. dots[slideIndex-1].className += " active";
  229. setTimeout(showSlides, 2000); // Change image every 2 seconds
  230. }
  231.  
  232.  
  233. // Initialize and add the map
  234. function initMap() {
  235. // The location of Uluru
  236. var uluru = {lat: 13.082680, lng: 80.270721};
  237. var uluru2 = {lat: 13.5, lng: 80.270721};
  238. // The map, centered at Uluru
  239. var map = new google.maps.Map(
  240. document.getElementById('map'), {zoom: 3, center: uluru});
  241. // The marker, positioned at Uluru
  242. var marker = new google.maps.Marker({position: uluru, map: map});
  243. var marker2 = new google.maps.Marker({position: uluru2, map: map});
  244. }
  245. </script>
  246. <!--Load the API from the specified URL
  247. * The async attribute allows the browser to render the page while the API loads
  248. * The key parameter will contain your own API key (which is not needed for this tutorial)
  249. * The callback parameter executes the initMap() function
  250. -->
  251. <script async defer
  252. src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCkEhNtqmqSDZntjdr-dy_bWx71EY37L_E&callback=initMap">
  253. </script>
  254.  
  255. </body>
  256.  
  257.  
  258.  
  259. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement