Team:Imperial College London/Templates/Header
From 2011.igem.org
(Difference between revisions)
Line 12: | Line 12: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$("sup").click(function () { | $("sup").click(function () { | ||
- | if ($( | + | if ($('.technology').length>0) |
+ | { | ||
+ | ddaccordion.expandone('technology', $('.technology').length-1) | ||
+ | setTimeout("window.scrollBy(0,50000)",200) | ||
+ | } | ||
+ | else window.scrollBy(0,50000) | ||
}); | }); | ||
$("sup").mouseover(function () { | $("sup").mouseover(function () { |
Revision as of 00:14, 22 September 2011