Team:Imperial College London/Templates/Header
From 2011.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
</script> | </script> | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | $("sup").click(function () { | ||
+ | if ($('.technology').length>0) | ||
+ | { | ||
+ | ddaccordion.expandone('technology', $('.technology').length-1) | ||
+ | setTimeout("window.scrollBy(0,50000)",200) | ||
+ | } | ||
+ | else window.scrollBy(0,50000) | ||
+ | }); | ||
+ | $("sup").mouseover(function () { | ||
+ | if ($(this).html().substr(0,1)=="[") $("sup").css('cursor', 'pointer'); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
<script> | <script> |
Revision as of 18:37, 28 October 2011