Template:Team:UC Davis/Head
From 2011.igem.org
(Difference between revisions)
Line 164: | Line 164: | ||
window.location = "https://2011.igem.org/Team:UC_Davis/Notebook/Week_" + $(this).text(); | window.location = "https://2011.igem.org/Team:UC_Davis/Notebook/Week_" + $(this).text(); | ||
}); | }); | ||
+ | var urlpieces = window.location.href.split('/'); | ||
+ | if(urlpieces[urlpieces.length-2] == 'Notebook') | ||
+ | { | ||
+ | var weeknum = urlpieces[urlpieces.length-1].split('_'); | ||
+ | weeknum = parseInt(weeknum[1]); | ||
+ | if(weeknum) | ||
+ | { | ||
+ | $('#linktable td').eq(weeknum-1).mouseover().unbind(); | ||
+ | } | ||
+ | |||
+ | } | ||
$('.floatbox a').css('color', linkcolorsarray[thispagenumber]); | $('.floatbox a').css('color', linkcolorsarray[thispagenumber]); | ||
$('.sponsorfloat a').css('color', linkcolorsarray[thispagenumber]); | $('.sponsorfloat a').css('color', linkcolorsarray[thispagenumber]); |
Revision as of 10:13, 28 September 2011