Difference between revisions of "Template:AUC TURKEY"
Line 68: | Line 68: | ||
if (htmlTop > menuTop) { | if (htmlTop > menuTop) { | ||
// add the class to stick on top | // add the class to stick on top | ||
− | $("#menu").addClass(" | + | $("#menu").addClass("fixedMenu"); |
− | $("#contentContainer").addClass(" | + | $("#contentContainer").addClass("shiftContent"); |
} else { | } else { | ||
// remove the stick on top class | // remove the stick on top class | ||
− | $("#menu").removeClass(" | + | $("#menu").removeClass("fixedMenu"); |
− | $("#contentContainer").removeClass(" | + | $("#contentContainer").removeClass("shiftContent"); |
} | } | ||
}); | }); |
Revision as of 11:47, 23 June 2015