Endless Scroll for Virtuemart
Written by Thomas Kahl   
Saturday, 02 October 2010 22:10

What does "endless scroll" mean? Imagine you have a lot of products in a category and the user would have to click through several pages to see them all. Endless scroll will show all the products on one page without loading them all at once.

How does it work? When the user scrolls down the page and comes near the end of the page, the script will automatically load the next "page" and append it at the bottom of the list. This is done in the background via AJAX-call, so the user will just notice that the page is getting "longer".

What if AJAX/Javascript doesn't work? The user can still of course use the pagination links that are displayed by Virtuemart. If Javascript if turned off, simply nothing happens and the pagination can be used.

Will it work on my page? Timing and the height of the elements and the whole page is very important to make the reload work smoothly. The plugin will work on most pages - only if there are very large differences in the height of the products on the browsepage, the script cannot calculate the position of the user on the page. The plugin will work, but it might load the next page too early or too late.

Can i see it somewhere? You can download the current status of the documentation PDF and we are just preparing a demo site for this but you can take a look at the video, where you can see how it works:

Trackback(0)
Comments (3)Add Comment

Write comment
smaller | bigger

security code
Write the displayed characters


busy
 

Blog Newsletter

Blog RSS-Feed Click here

Subscribe to our Blog Newsletter

Enter your email address:

Delivered by FeedBurner