Difference between revisions of "Template:CSS UCL5"
Superjack15 (Talk | contribs) (Undo revision 65611 by Superjack15 (talk)) |
Superjack15 (Talk | contribs) (Undo revision 65610 by Superjack15 (talk)) |
||
Line 8: | Line 8: | ||
− | <script> | + | <script>$(document).ready(function() { |
− | $(document).ready(function() { | + | $('#hidden-menu').next().hide(); |
− | $('# | + | $('#hidden-menu').hover( function() { |
− | + | $(this).next().toggle(); | |
− | $('# | + | |
− | $( | + | |
}); | }); | ||
}); | }); | ||
Line 823: | Line 821: | ||
<div id="hidden-menu"> | <div id="hidden-menu"> | ||
<img src="https://static.igem.org/mediawiki/2015/d/de/UCLigemMobileMenu.png" id="mobilebutton"> | <img src="https://static.igem.org/mediawiki/2015/d/de/UCLigemMobileMenu.png" id="mobilebutton"> | ||
− | <ul | + | <ul> |
<li><a href="https://2015.igem.org/Team:UCL">Home</a></li> | <li><a href="https://2015.igem.org/Team:UCL">Home</a></li> | ||
<li><a href="https://2015.igem.org/Team:UCL/Description">Project</a></li> | <li><a href="https://2015.igem.org/Team:UCL/Description">Project</a></li> |
Revision as of 00:23, 27 July 2015