Difference between revisions of "Template:Freiburg/MenubarTest"
Line 502: | Line 502: | ||
var y = $(this).scrollTop(); | var y = $(this).scrollTop(); | ||
− | if(y> | + | if(y>83){ |
console.log("if - begin"); | console.log("if - begin"); | ||
$("#header").css('position','fixed'); | $("#header").css('position','fixed'); | ||
$("#header").css('width','100%'); | $("#header").css('width','100%'); | ||
− | $("#header").css('margin-top','- | + | $("#header").css('margin-top','-83px'); |
$("#bottom-arrow").css('display','none'); | $("#bottom-arrow").css('display','none'); | ||
$("#runningchip-back").css('display','none'); | $("#runningchip-back").css('display','none'); |
Revision as of 15:02, 10 September 2015