Team:Imperial College London/Templates/Header
From 2011.igem.org
(Difference between revisions)
(2 intermediate revisions not shown) | |||
Line 19: | Line 19: | ||
</script> | </script> | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
+ | $("sup").click(function () { | ||
+ | if ($(this).html().substr(0,1)=="[") | ||
+ | { | ||
+ | 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)=="[") $(this).css('cursor', 'pointer'); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
<script> | <script> |
Latest revision as of 19:04, 28 October 2011