Line 4: | Line 4: | ||
<script src="https://2017.igem.org/Team:William_and_Mary/jquery1-20?action=raw&ctype=text/javascript" type="text/javascript"></script> | <script src="https://2017.igem.org/Team:William_and_Mary/jquery1-20?action=raw&ctype=text/javascript" type="text/javascript"></script> | ||
<style> | <style> | ||
+ | .dropdown { | ||
+ | position: relative; | ||
+ | display: inline-block; | ||
+ | z-index: 9999; | ||
+ | } | ||
− | . | + | .dropdown-content { |
− | + | display: none; | |
+ | position: absolute; | ||
+ | background-color: #f9f9f9; | ||
+ | min-width: 160px; | ||
+ | box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2); | ||
+ | padding: 12px 16px; | ||
+ | z-index: 1; | ||
} | } | ||
− | + | ||
− | + | .dropdown:hover .dropdown-content { | |
− | + | display: block; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | . | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
+ | </style> | ||
+ | <div class="dropdown"> | ||
+ | <span>Overview</span> | ||
+ | </div> | ||
− | + | <div class="dropdown"> | |
− | + | <span>Description</span> | |
− | - | + | <div class="dropdown-content"> |
− | + | <a href="https://2017.igem.org/Team:William_and_Mary/Team"> | |
− | + | One | |
− | + | </a> | |
+ | <a href="https://2017.igem.org/Team:William_and_Mary/Team"> | ||
+ | Two | ||
+ | </a> | ||
+ | <a href="https://2017.igem.org/Team:William_and_Mary/Team"> | ||
+ | Three | ||
+ | </a> | ||
+ | </div> | ||
+ | </div> | ||
− | </ | + | <div class="dropdown"> |
+ | <a href="https://2017.igem.org/Team:William_and_Mary/Engagement"> | ||
+ | Human Practices | ||
+ | </a> | ||
+ | <div class="dropdown-content"> | ||
+ | <a href="https://2017.igem.org/Team:William_and_Mary/Team"> | ||
+ | One | ||
+ | </a> | ||
+ | <a href="https://2017.igem.org/Team:William_and_Mary/Team"> | ||
+ | Two | ||
+ | </a> | ||
+ | <a href="https://2017.igem.org/Team:William_and_Mary/Team"> | ||
+ | Three | ||
+ | </a> | ||
+ | </div> | ||
+ | </div> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <div class="dropdown"> | ||
+ | <a href="https://2017.igem.org/Team:William_and_Mary/Team"> | ||
+ | Team | ||
+ | </a> | ||
+ | </div> | ||
</html> | </html> |
Revision as of 15:04, 2 August 2017
Overview