Prepending items in serialscroll
Posted
by
Zack
on Stack Overflow
See other posts from Stack Overflow
or by Zack
Published on 2011-03-20T07:57:49Z
Indexed on
2011/03/20
8:09 UTC
Read the original article
Hit count: 321
Hi,
I am using serialscroll plugin for jquery by Ariel Flesler. I am trying to make the vertical scroller to have continues loop without reverting back to first item (which is default functionality).
To have continues loop of items i tried to append the items which is working fine and able to achieve when i click on "NEXT". However problem seems to be with "Previous" link where i am trying to prepend the items at the top, it is pending the items however changing the visible items.
I understand that prepending the items is causing the index of items to change which is normal. So what i am looking for it to keep showing the visible items even when prepending.
Please see this URL where i have put the problem i am facing : http://www.resourceskit.com/test/
Please suggest.
Thanks
© Stack Overflow or respective owner