Template:Team:Groningen/Header
From 2010.igem.org
(Difference between revisions)
Joelkuiper (Talk | contribs) |
Joelkuiper (Talk | contribs) |
||
Line 9: | Line 9: | ||
$('.lavaLampBottomStyle [rel='+$.address.value().substr(1) +']').parent().addClass("current"); | $('.lavaLampBottomStyle [rel='+$.address.value().substr(1) +']').parent().addClass("current"); | ||
- | var pages = ["home", "project", " | + | var pages = ["home", "project", "ethics", "modeling", "team","contact"]; |
$("#tabs").lavaLamp({ | $("#tabs").lavaLamp({ | ||
fx: "backout", | fx: "backout", | ||
speed: 700, | speed: 700, | ||
click: function(event, obj) { | click: function(event, obj) { | ||
- | + | $.address.value($(obj).find('a').attr('rel')); | |
if($("#home").length !== 0) { | if($("#home").length !== 0) { | ||
- | return | + | return false; |
} else { | } else { | ||
- | + | ||
- | return | + | return true; } |
} | } | ||
}); | }); |
Revision as of 17:07, 19 July 2010