Difference between revisions of "Template:UCSF/test template"
Joshua nowak (Talk | contribs) m (toolbar) |
Joshua nowak (Talk | contribs) m (toolbar) |
||
Line 12: | Line 12: | ||
$(window).scroll(function(){ | $(window).scroll(function(){ | ||
// If you have scrolled down... | // If you have scrolled down... | ||
− | if($(document).scrollTop() > | + | if($(document).scrollTop() > 50) |
{ // ...and the header is big | { // ...and the header is big | ||
if($('#header_nav').data('size') == 'big') | if($('#header_nav').data('size') == 'big') | ||
Line 39: | Line 39: | ||
height:'178px' | height:'178px' | ||
},100); | },100); | ||
− | $('a.tiny').removeClass('tiny', $(document).scrollTop() <= | + | $('a.tiny').removeClass('tiny', $(document).scrollTop() <= 49); |
− | $('h1.logo.tiny').removeClass('tiny', $(document).scrollTop() <= | + | $('h1.logo.tiny').removeClass('tiny', $(document).scrollTop() <= 49); |
} | } | ||
} | } |
Revision as of 23:36, 3 September 2015