Difference between revisions of "Template:AUC TURKEY"
Line 54: | Line 54: | ||
// Calling the function | // Calling the function | ||
setFixMenu('.menu', 'fixedMenu'); | setFixMenu('.menu', 'fixedMenu'); | ||
− | + | $(function(){ | |
function setFixMenu(element, stickyCssClass) { | function setFixMenu(element, stickyCssClass) { | ||
// get the top offset of the menu element var | // get the top offset of the menu element var | ||
Line 72: | Line 72: | ||
$(element).removeClass(stickyCssClass); | $(element).removeClass(stickyCssClass); | ||
} | } | ||
− | }); | + | });} |
} | } | ||
</script> | </script> |
Revision as of 11:29, 23 June 2015