Animation on Scrolling with jQuery
Live display of the source code The Scroll () technique is used to cause scrolling or to activate a function so that it is performed while scrolling down. We can use the CSS overflow property to create a scroll bar. The scroll event is raised for widgets or for all scrollable elements. Syntax We can just use the scroll () method or add a function to the scroll event. The syntax for using the scroll () method is as follows: The selector in the previous syntax is the selected item. The parameter function mentioned in the previous syntax is optional.It is a function that is executed when the scroll event occurs. The attached function performs a specific task when scrolling. Let's see an illustration of how to use the scroll () method. Continue reading
