Template:Team:Groningen/Header
From 2010.igem.org
(Difference between revisions)
Joelkuiper (Talk | contribs) |
Joelkuiper (Talk | contribs) |
||
Line 7: | Line 7: | ||
$(function() { | $(function() { | ||
var pages = ["home", "project", "images", "modeling", "team","contact"]; | var pages = ["home", "project", "images", "modeling", "team","contact"]; | ||
+ | $('.lavaLampBottomStyle [rel='+$.address.value().substr(1)+']').parent().addClass("current"); | ||
$("#tabs").lavaLamp({ | $("#tabs").lavaLamp({ | ||
fx: "backout", | fx: "backout", | ||
Line 19: | Line 20: | ||
$.address.change(function(event) { | $.address.change(function(event) { | ||
- | |||
var page = event.path.substring(1); | var page = event.path.substring(1); | ||
if($.inArray(page, pages) != -1) { | if($.inArray(page, pages) != -1) { |
Revision as of 19:25, 15 July 2010