Template:UC Chile4
From 2012.igem.org
(Difference between revisions)
Line 27: | Line 27: | ||
<script type="text/javascript" src="https://2011.igem.org/Team:Imperial_College_London/magnifier?action=raw&ctype=text/js"> | <script type="text/javascript" src="https://2011.igem.org/Team:Imperial_College_London/magnifier?action=raw&ctype=text/js"> | ||
+ | |||
+ | /*********************************************** | ||
+ | * jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) | ||
+ | * This notice MUST stay intact for legal use | ||
+ | * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more | ||
+ | ***********************************************/ | ||
+ | <script type="text/javascript"> | ||
+ | var bomb = jQuery; | ||
+ | jQuery.imageMagnify.zIndexcounter = 1000; | ||
+ | </script> | ||
+ | |||
+ | <script> | ||
+ | bomb(document).ready(function() { | ||
+ | bomb("sup").click(function () { | ||
+ | if (bomb(this).html().substr(0,1)=="[") | ||
+ | { | ||
+ | if (bomb('.technology').length>0) | ||
+ | { | ||
+ | ddaccordion.expandone('technology', bomb('.technology').length-1) | ||
+ | setTimeout("window.scrollBy(0,50000)",200) | ||
+ | } | ||
+ | else window.scrollBy(0,50000) | ||
+ | } | ||
+ | }); | ||
+ | bomb("sup").mouseover(function () { | ||
+ | if (bomb(this).html().substr(0,1)=="[") bomb(this).css('cursor', 'pointer'); | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
<script> | <script> | ||
- | + | bomb(document).ready(function() { | |
- | + | bomb('ul.sf-menu').superfish({ | |
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
- | |||
- | |||
</head> | </head> | ||
Revision as of 04:22, 5 September 2012