Team:Imperial College London/Templates/Header
From 2011.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$("sup").click(function () { | $("sup").click(function () { | ||
+ | if ($(this).html().substr(0,1)=="[") | ||
+ | { | ||
if ($('.technology').length>0) | if ($('.technology').length>0) | ||
{ | { | ||
Line 28: | Line 30: | ||
} | } | ||
else window.scrollBy(0,50000) | else window.scrollBy(0,50000) | ||
+ | } | ||
}); | }); | ||
$("sup").mouseover(function () { | $("sup").mouseover(function () { |
Revision as of 19:02, 28 October 2011