Template:Team:Cambridge/CAM 2012 TEMPLATE HEAD DIARY
From 2012.igem.org
(Difference between revisions)
Pdmallaband (Talk | contribs) |
Pdmallaband (Talk | contribs) |
||
Line 67: | Line 67: | ||
$('.cam_grid_headover h6').css("display","none"); | $('.cam_grid_headover h6').css("display","none"); | ||
$('#cam_diary_link').click(function() { | $('#cam_diary_link').click(function() { | ||
- | if | + | if (pathname[2]=="Diary"){ |
- | window.location.replace("https://2012.igem.org/Team:Cambridge/Diary/ | + | window.location.replace("https://2012.igem.org/Team:Cambridge/Diary/" + pathname[3]); |
} | } | ||
- | else { | + | else if (pathname[2]=="Lab_book"){ |
- | window.location.replace("https://2012.igem.org/Team:Cambridge/ | + | window.location.replace("https://2012.igem.org/Team:Cambridge/Diary/" + pathname[3]); |
{ | { | ||
+ | else{ | ||
+ | window.location.replace("https://2012.igem.org/Team:Cambridge/Diary/Week_1" ); | ||
+ | } | ||
return false; | return false; |
Revision as of 17:40, 23 August 2012