Difference between revisions of "Template:TP CC-SanDiego/navbar"
Rachellian7 (Talk | contribs) |
Rachellian7 (Talk | contribs) |
||
Line 23: | Line 23: | ||
if($(window).scrollTop() > winheight){ | if($(window).scrollTop() > winheight){ | ||
mn.addClass("fixed"); | mn.addClass("fixed"); | ||
− | mn2.css("padding- | + | mn2.css("padding-left","1%"); |
nextdiv.css("padding-top", "50px"); | nextdiv.css("padding-top", "50px"); | ||
} | } | ||
else{ | else{ | ||
mn.removeClass("fixed"); | mn.removeClass("fixed"); | ||
− | mn2.css("padding- | + | mn2.css("padding-left","1%"); |
nextdiv.css("padding-top", "0px"); | nextdiv.css("padding-top", "0px"); | ||
} | } |
Revision as of 23:11, 18 September 2015
PROJECT