-1

does anyone knows if is possible via css or js to catch when twitter-bootstrap navbar-fixed-top is scrolling?

I guess i should check when user scroll the page, but if is possible i would like to get it more easily

itsme
  • 48,972
  • 96
  • 224
  • 345

1 Answers1

1
$(window).scroll(function() {
if($(window).scrollTop() + $(window).height() == $(document).height()) {
   alert("bottom!");
}
});

Tis is actually found here: How do I use JQuery to detect if a user scrolls to the bottom of the page?

You can change where it detects to, so you pick where.

Community
  • 1
  • 1
Binary101010
  • 580
  • 4
  • 11