Ombashi

Saved copy 3

Sep 15th, 2020
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.04 KB | None | 0 0
  1. <!DOCTYPE>
  2. <html>
  3.  
  4. <title>Mars Argo</title>
  5.  
  6. <div class = 'toptitle' style = 'position:relative;left:50px'>
  7.  
  8. <h1>Mars Argo.</h1>
  9.  
  10. </div>
  11.  
  12. <div class = 'nav'>
  13.  
  14. <a href = 'https://www.google.com/?client=safari'>Homepage</a>
  15.  
  16. <a href = 'mars.html' class = 'active'>Mars Argo</a>
  17.  
  18. <a href = 'https://www.google.com/?client=safari'>Place holder</a>
  19.  
  20. </div>
  21.  
  22. <p></p>
  23.  
  24. <body>
  25.  
  26. <div style = 'position:relative;left: 600px'>
  27.  
  28. <a href = '#' class = 'opt' onclick = 'buttonFunc()'>Biography</a>
  29.  
  30. <div class = 'optlist' id = 'try'>
  31.  
  32. <a href = '#' class = 'optbut'>Disography</a>
  33.  
  34. <a href = '#' class = 'optbut'>Lawsuit</a>
  35.  
  36. <a href = '#' class = 'outbutA'>Biography</a>
  37.  
  38. <a href = '#' class = 'optbut'>Social Media</a>
  39.  
  40. <a onclick = 'buttonFuncClos()' class = 'optclos'>Close</a>
  41.  
  42. </div>
  43.  
  44. </div>
  45.  
  46. </body>
  47.  
  48. <style>
  49.  
  50. .toptitle {
  51.  
  52. font-size: 40px;
  53. font-family: sans-serif;
  54. }
  55.  
  56. </style>
  57.  
  58. <style>
  59.  
  60. body {
  61.  
  62. font-family: sans-serif;
  63.  
  64. }
  65.  
  66. .nav {
  67.  
  68. overflow: hidden;
  69. background-color: #FFFFFF;
  70. border: solid black 2px;
  71. border-radius: 25px;
  72.  
  73. }
  74.  
  75. .nav a {
  76.  
  77. padding: 13px 9px;
  78. float: left;
  79. text-align: center;
  80. text-decoration: none;
  81. cursor: pointer;
  82. color: black;
  83.  
  84. }
  85.  
  86. .nav a:hover {
  87.  
  88. background-color: #000000;
  89. color: #FFFFFF;
  90.  
  91. }
  92.  
  93. </style>
  94.  
  95. <style>
  96.  
  97. .opt {
  98.  
  99. padding: 6px 14px;
  100. border-radius: 25px;
  101. background-color: #FFFFFF;
  102. color: #000000;
  103. text-align: center;
  104. border: 2px solid black;
  105. font-family: sans-serif;
  106. text-decoration: none;
  107. cursor: pointer;
  108.  
  109. }
  110.  
  111. .optlist {
  112.  
  113. padding-top: 30px;
  114. padding-bottom: 30px;
  115. padding-left: 24px;
  116. padding-right: 14px;
  117. border: 2px solid black;
  118. margin: 1px;
  119. border-radius: 20px;
  120. display: none;
  121.  
  122. }
  123.  
  124. .optbut {
  125.  
  126. background-color: #FFFFFF;
  127. color: #000000;
  128. border: 2px solid black;
  129. border-radius: 25px;
  130. text-decoration: none;
  131. font-family: sans-serif;
  132. padding: 14px 14px;
  133. }
  134.  
  135. .optbut:hover {
  136.  
  137. background-color: #000000;
  138. color: #FFFFFF;
  139. }
  140.  
  141. .outbutA {
  142.  
  143. background-color: #000000;
  144. color: #FFFFFF;
  145. border: 2px solid black;
  146. border-radius: 25px;
  147. text-decoration: none;
  148. font-family: sans-serif;
  149. padding: 14px 14px;
  150.  
  151. }
  152.  
  153. .optclos {
  154.  
  155. background-color: #FFFFFF;
  156. color: #000000;
  157. border: 2px solid black;
  158. border-radius: 25px;
  159. text-decoration: none;
  160. font-family: sans-serif;
  161. padding: 14px 14px;
  162. }
  163.  
  164. .optclos:hover {
  165.  
  166. background-color: #FF3535;
  167. cursor: pointer;
  168. color: #000000;
  169. }
  170.  
  171. </style>
  172.  
  173. <script>
  174.  
  175. // These 2 functions control the opening and closing of the menu.
  176.  
  177. function buttonFunc() {
  178.  
  179. document.getElementById('try').style.display = 'inline';
  180. }
  181.  
  182. function buttonFuncClos() {
  183.  
  184. document.getElementById('try').style.display = 'none';
  185. }
  186.  
  187.  
  188. </script>
  189.  
  190. </html>
Add Comment
Please, Sign In to add comment