Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

jQuery - remove element upon scrolling

0 votes
54 views
added Nov 14 in CSS by LC Marshal Lieutenant (14,830 points)
$(window).scroll(function() {
  var adBanner = $('.ad-banner');
  if(adBanner.hasClass('slide-in')){
    adBanner.removeClass('slide-in');
  }
});

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...