Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE>
- <html>
- <title>Mars Argo</title>
- <div class = 'toptitle' style = 'position:relative;left:50px'>
- <h1>Mars Argo.</h1>
- </div>
- <div class = 'nav'>
- <a href = 'https://www.google.com/?client=safari'>Homepage</a>
- <a href = 'mars.html' class = 'active'>Mars Argo</a>
- <a href = 'https://www.google.com/?client=safari'>Place holder</a>
- </div>
- <p></p>
- <body>
- <div style = 'position:relative;left: 600px'>
- <a href = '#' class = 'opt' onclick = 'buttonFunc()'>Biography</a>
- <div class = 'optlist' id = 'try'>
- <a href = '#' class = 'optbut'>Disography</a>
- <a href = '#' class = 'optbut'>Lawsuit</a>
- <a href = '#' class = 'outbutA'>Biography</a>
- <a href = '#' class = 'optbut'>Social Media</a>
- <a onclick = 'buttonFuncClos()' class = 'optclos'>Close</a>
- </div>
- </div>
- </body>
- <style>
- .toptitle {
- font-size: 40px;
- font-family: sans-serif;
- }
- </style>
- <style>
- body {
- font-family: sans-serif;
- }
- .nav {
- overflow: hidden;
- background-color: #FFFFFF;
- border: solid black 2px;
- border-radius: 25px;
- }
- .nav a {
- padding: 13px 9px;
- float: left;
- text-align: center;
- text-decoration: none;
- cursor: pointer;
- color: black;
- }
- .nav a:hover {
- background-color: #000000;
- color: #FFFFFF;
- }
- </style>
- <style>
- .opt {
- padding: 6px 14px;
- border-radius: 25px;
- background-color: #FFFFFF;
- color: #000000;
- text-align: center;
- border: 2px solid black;
- font-family: sans-serif;
- text-decoration: none;
- cursor: pointer;
- }
- .optlist {
- padding-top: 30px;
- padding-bottom: 30px;
- padding-left: 24px;
- padding-right: 14px;
- border: 2px solid black;
- margin: 1px;
- border-radius: 20px;
- display: none;
- }
- .optbut {
- background-color: #FFFFFF;
- color: #000000;
- border: 2px solid black;
- border-radius: 25px;
- text-decoration: none;
- font-family: sans-serif;
- padding: 14px 14px;
- }
- .optbut:hover {
- background-color: #000000;
- color: #FFFFFF;
- }
- .outbutA {
- background-color: #000000;
- color: #FFFFFF;
- border: 2px solid black;
- border-radius: 25px;
- text-decoration: none;
- font-family: sans-serif;
- padding: 14px 14px;
- }
- .optclos {
- background-color: #FFFFFF;
- color: #000000;
- border: 2px solid black;
- border-radius: 25px;
- text-decoration: none;
- font-family: sans-serif;
- padding: 14px 14px;
- }
- .optclos:hover {
- background-color: #FF3535;
- cursor: pointer;
- color: #000000;
- }
- </style>
- <script>
- // These 2 functions control the opening and closing of the menu.
- function buttonFunc() {
- document.getElementById('try').style.display = 'inline';
- }
- function buttonFuncClos() {
- document.getElementById('try').style.display = 'none';
- }
- </script>
- </html>
Add Comment
Please, Sign In to add comment