Template:UC Chile4
From 2012.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
<script> | <script> | ||
- | + | $(document).ready(function() { | |
- | + | $("sup").click(function () { | |
- | if ( | + | if ($(this).html().substr(0,1)=="[") |
{ | { | ||
- | if ( | + | if ($('.technology').length>0) |
{ | { | ||
- | ddaccordion.expandone('technology', | + | ddaccordion.expandone('technology', $('.technology').length-1) |
setTimeout("window.scrollBy(0,50000)",200) | setTimeout("window.scrollBy(0,50000)",200) | ||
} | } | ||
Line 51: | Line 51: | ||
} | } | ||
}); | }); | ||
- | + | $("sup").mouseover(function () { | |
- | if ( | + | if ($(this).html().substr(0,1)=="[") $(this).css('cursor', 'pointer'); |
}); | }); | ||
}); | }); | ||
Line 59: | Line 59: | ||
<script> | <script> | ||
- | + | $(document).ready(function() { | |
- | + | $('ul.sf-menu').superfish({ | |
}); | }); | ||
}); | }); |
Revision as of 04:25, 5 September 2012