Template:AUC TURKEY
From 2014hs.igem.org
(Difference between revisions)
Edipunluer (Talk | contribs) |
Edipunluer (Talk | contribs) |
||
Line 11: | Line 11: | ||
});*/ | });*/ | ||
$('#cssmenu').addClass('relative'); | $('#cssmenu').addClass('relative'); | ||
- | |||
$(window).scroll(function(){ | $(window).scroll(function(){ | ||
if ($(this).scrollTop() >= $("#igem_logo_gif").height()) { | if ($(this).scrollTop() >= $("#igem_logo_gif").height()) { | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
$('#cssmenu').removeClass('relative'); | $('#cssmenu').removeClass('relative'); | ||
$('#cssmenu').addClass('fixed'); | $('#cssmenu').addClass('fixed'); | ||
$('#pageContent').addClass('kaydir'); | $('#pageContent').addClass('kaydir'); | ||
- | |||
} else { | } else { | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
$('#cssmenu').removeClass('fixed'); | $('#cssmenu').removeClass('fixed'); | ||
$('#cssmenu').addClass('relative'); | $('#cssmenu').addClass('relative'); | ||
$('#pageContent').removeClass('kaydir'); | $('#pageContent').removeClass('kaydir'); | ||
- | |||
} | } | ||
}); | }); |
Revision as of 09:13, 7 June 2014