Difference between revisions of "Template:Freiburg/MenubarTest"
Line 2: | Line 2: | ||
<html> | <html> | ||
<head> | <head> | ||
− | |||
<meta charset="utf-8"> | <meta charset="utf-8"> | ||
Line 504: | Line 503: | ||
if(y>61){ | if(y>61){ | ||
+ | console.log("if - begin"); | ||
+ | |||
$("#header").css('position','fixed'); | $("#header").css('position','fixed'); | ||
$("#header").css('width','100%'); | $("#header").css('width','100%'); | ||
Line 511: | Line 512: | ||
$("#navtext").css('margin-top','-20'); | $("#navtext").css('margin-top','-20'); | ||
− | + | console.log("if - end"); | |
}else{ | }else{ | ||
+ | console.log("else- begin"); | ||
// $("#header").removeAttr('style'); | // $("#header").removeAttr('style'); | ||
Line 520: | Line 522: | ||
$("#runningchip-back").removeAttr('style'); | $("#runningchip-back").removeAttr('style'); | ||
$("#navtext").removeAttr('style'); | $("#navtext").removeAttr('style'); | ||
− | + | console.log("else- end"); | |
} | } | ||
Revision as of 23:19, 9 September 2015