Template:Team:Groningen/Header

From 2010.igem.org

(Difference between revisions)
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", "images", "modeling", "team","contact"];
+
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 true;
+
return false;
} else {  
} else {  
-
$.address.value($(obj).find('a').attr('rel'));
+
 
-
return false; }
+
return true; }
}
}
});
});

Revision as of 17:07, 19 July 2010