the user will automatically detect when the user scrolls the first time

Try using one which Attach a handler to an event for the elements. The handler is executed at most once per element per event type:

$(window).one('scroll', function (e) { alert('Welcome') });

The solution depends on jQuery, but seems like you may have that available because the question is tagged with jquery.

Hopefully that helps!

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top