Template:Mexico-UNAM-CINVESTAV-HEADER
From 2010.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
$("ul.topnav li span").click(function() { | $("ul.topnav li span").click(function() { | ||
- | |||
$(this).parent().find("ul.subnav").slideDown('fast').show(); | $(this).parent().find("ul.subnav").slideDown('fast').show(); | ||
$(this).parent().hover(function() { | $(this).parent().hover(function() { | ||
Line 14: | Line 13: | ||
$(this).parent().find("ul.subnav").slideUp('slow'); | $(this).parent().find("ul.subnav").slideUp('slow'); | ||
}); | }); | ||
- | |||
}).hover(function() { | }).hover(function() { | ||
$(this).addClass("subhover"); | $(this).addClass("subhover"); | ||
Line 38: | Line 36: | ||
margin: 0; | margin: 0; | ||
padding: 0 15px 0 0; | padding: 0 15px 0 0; | ||
- | position: relative; | + | position: relative; |
} | } | ||
ul.topnav li a{ | ul.topnav li a{ | ||
Line 50: | Line 48: | ||
background: url(http://www.sohtanaka.com/web-design/examples/drop-down-menu/topnav_hover.gif) no-repeat center top; | background: url(http://www.sohtanaka.com/web-design/examples/drop-down-menu/topnav_hover.gif) no-repeat center top; | ||
} | } | ||
- | ul.topnav li span { | + | ul.topnav li span { |
width: 17px; | width: 17px; | ||
height: 35px; | height: 35px; | ||
Line 81: | Line 79: | ||
padding-left: 20px; | padding-left: 20px; | ||
} | } | ||
- | html ul.topnav li ul.subnav li a:hover { | + | html ul.topnav li ul.subnav li a:hover { |
background: #222 url(http://www.sohtanaka.com/web-design/examples/drop-down-menu/dropdown_linkbg.gif) no-repeat 10px center; | background: #222 url(http://www.sohtanaka.com/web-design/examples/drop-down-menu/dropdown_linkbg.gif) no-repeat 10px center; | ||
} | } | ||
Line 136: | Line 134: | ||
</li> | </li> | ||
+ | <li><a href="#" onclick="window.open('https://static.igem.org/mediawiki/2010/1/10/Xspf_player_mx.swf?playlist_url=https://2010.igem.org/Team:Mexico-UNAM-CINVESTAV/files/playlist.xspf?action=raw&repeat_playlist=true','status=1,toolbar=0,location=0');">Radio</a></li> | ||
Revision as of 21:48, 2 September 2010