Difference between revisions of "Template:Freiburg/MenubarTest"
Line 448: | Line 448: | ||
opacity: 0; | opacity: 0; | ||
} | } | ||
+ | |||
+ | /* avoid space to content box */ | ||
+ | .content_background_wrapper{ | ||
+ | padding-top: 20px; | ||
+ | } | ||
+ | |||
} | } | ||
Line 467: | Line 473: | ||
/* Basic Styles */ | /* Basic Styles */ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
#smallnav { | #smallnav { | ||
Line 803: | Line 804: | ||
/*Attachable menu code*/ | /*Attachable menu code*/ | ||
$( document ).ready(function() { | $( document ).ready(function() { | ||
− | + | ||
$(window).scroll(function (event) { | $(window).scroll(function (event) { | ||
var y = $(this).scrollTop(); | var y = $(this).scrollTop(); | ||
Line 826: | Line 827: | ||
}); | }); | ||
+ | /*Fix for when a link targets an id -> check the position on pageload*/ | ||
+ | /* $(window).scroll();*/ | ||
− | |||
− | |||
}); | }); | ||
Revision as of 21:58, 16 September 2015