<script type="text/javascript">
jQuery(window).scroll(function() {
var scroll = jQuery(window).scrollTop();
if (scroll >=1000) {
jQuery(".wrapper").addClass("remove_header");
} else {
jQuery(".wrapper").removeClass("remove_header");
}});
jQuery(document).scroll(function () {
var y = jQuery(this).scrollTop();
if (y >= 150) {
jQuery('.sticky').css("display", "block");
} else {
if(jQuery(window).width() > 1024){
jQuery('.sticky').css( "display", "none" );
}
}
});
</script>
jQuery(window).scroll(function() {
var scroll = jQuery(window).scrollTop();
if (scroll >=1000) {
jQuery(".wrapper").addClass("remove_header");
} else {
jQuery(".wrapper").removeClass("remove_header");
}});
jQuery(document).scroll(function () {
var y = jQuery(this).scrollTop();
if (y >= 150) {
jQuery('.sticky').css("display", "block");
} else {
if(jQuery(window).width() > 1024){
jQuery('.sticky').css( "display", "none" );
}
}
});
</script>
Comments
Post a Comment
Feel Free To Ask...