jquery auto scroll

jQuery auto scroll makes it easy to implement vast scrolling or lazy loading within a web/HTML5 application or a page. The plugin allows you to start an auto-paged AJAX fetch prompted by scrolling from window object or within fixed-height div.

A perfect example of auto scroll jQuery is the Facebook News Feed that is designed to load content automatically as you scroll downwards. jQuery makes things easier when developing cross-browser applications since it is a concise and fast Javascript library. All the jQuery tools are designed to depend on Javascript library saves for the flash-embed.

Auto scroll jQuery comes in different options based on the scroll directions. For example, a developer might decide to use Smooth Div Scroll whose principle is simple. Smooth Div Scroll allows one scrollable area or Div to scroll or slip inside a scroll wrapper or div. The actual scrolling is triggered by two hotspots ((scrollingHotSpotRight) and scrollingHotspotLeft). Users can also scroll using the mouse wheel, touch or auto scroll jQuery. The extent of scrollable area visible is determined by scrollWrapper since everything found outside the ScrollWrapper is concealed from the user’s view.

code snippet script

The same auto scroll option can also be used in HTML and the HTML code will be different from the one given above. When this scrolling option is used, you can opt to put spacing if you want but instead of using margins, padding is always better and error free. Margins normally tend to create errors when the jQuery auto scroll is used in Internet Explorer.

The HTML code can be used in different options that overrule the default options using where users can opt for the following:

  • Mousewheelscrolling: This allows the users to scroll both vertically and horizontally using mouse wheel. However, not all mice offer vertical scrolling option.
  • AutoScrollingMode: With this option, the scroller begins to auto scroll immediately the page loads and then stops once the user interacts with it.
  • ManualContinuousScrolling: Once the user scrolls using mousewheel or hotspots (manually) the scroller becomes continuous on both sides

There are many other options available, which you can use. The above demo gives you a HTML code snippet that looks like this:

code snippet sample

The demo above has a surrounding div plus id makeMe Scrollable. You can turn this element into Smooth Div Scroll. You can also put any of your content inside this div in addition to images.

Multiple jQuery auto scrollers on the same page

Multiple auto scrollers can also be used in the same page in such a way that they loop endlessly in different directions. The speed of these different scrollers could vary from each other and this can be done by setting up event handlers which pause and start whenever you move the mouse pointer over them. Different plug-in instances do not have to interfere with each other when used on the same page as long as they are isolated.

Horizontal sliding panels have been the most popular and strong wed design trends. Also known as Carousels or sliders, the panels are very effective for increased web site usability and also help engage the user even more. jQuery image sliders also come in handy as they offer eye-catching visual effects and loads of resourcefully made templates. You can create fantastic sliders within a matter of seconds using point-and-click wizard packed in jQuery image slider without image editing and coding.

Auto scroll jQuery advantages

jQuery auto scroll has not become popular over the years for nothing. Of course, designing a web can only be successful if visitors are able to engage freely and thus enjoy a great experience when viewing the products. Automatic scrolling presents users with 3D presentation that is easily controlled by their scrolling behaviour. This way, the exquisiteness of the product can be reflected perfectly right from the time scrolling starts all the way to the end. Being able to tell the story of your product in a flowing and interactive manner will definitely attract the attention and the engagement of the audience while allowing them to take control of things.

Auto scroll jQuery creates different layers which are designed to respond differently based on scrolling behaviour of the visitors thus creating a sense of depth to the story lines while allowing multiple story lines to be created. With jQuery auto scroll, visitors can either scroll from down going upwards, vertically, or horizontally. Whichever direction, beautiful and captivating stories can be told and illustrated to make it more engaging. Different code snippets are available which can help create different auto scrolling patterns thus entertaining the visitors and making them more eager to visit the site.

Further reading: