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