Hi, I have a script:
$(window).scroll(function() {
var scroll = $(window).scrollTop();
if (scroll >= 200) {
$("header").addClass("scroll-header");
} else {
$("header").removeClass("scroll-header");
}
});
The thing is I would want this to only apply to the mainpage (index.php) … Is this possible?