Template:UC Chile4
From 2012.igem.org
(Difference between revisions)
Line 33: | Line 33: | ||
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more | * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more | ||
***********************************************/ | ***********************************************/ | ||
- | <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> | |
+ | |||
+ | $(document).ready(function() { | ||
+ | $('ul.sf-menu').superfish({ | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | </script> | ||
</head> | </head> | ||
Revision as of 04:29, 5 September 2012