Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 38: | Line 38: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
- | $("ul.subnav").parent().find("a").append("<span>▼</span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*) | + | $("ul.subnav").parent().find("(this) > a").append("<span>▼</span>"); //Only shows drop down trigger when js is enabled (Adds empty span tag after ul.subnav*) |
$("ul.topnav li").hover(function() { //When trigger is clicked... | $("ul.topnav li").hover(function() { //When trigger is clicked... | ||
//Following events are applied to the subnav itself (moving subnav up and down) | //Following events are applied to the subnav itself (moving subnav up and down) |
Revision as of 01:31, 15 September 2011
{{{1}}}