Hi, I am new to javascript and web. I want a circular image carousel for my website and so have been looking at jcarousel. I dont want to use the entire plugin so thought of writing something of my own using jquery 1.3.1. I have been trying to understand the working of circular jcarousel but i dont understand how after scrolling (from right to left) out of the viewing (jcarousel-clip), the scrolled out items are removed from the UL (jcarousel-list).
I wrote code to animate (with easing plugin) the UL left or right. I managed to quickly write a carousel that scrolls left/right, but not a circular one. When going right, I get the "left" css of the UL and move it by a length = the size of the viewing area, thus moving all visible items out of view towards the left. If my UL left is at 0px, this movement to left will make it negative. Now I have to remove those "invisible" items from the UL and add them at the at the back of the UL IL list.. Doing this obviously creates a void and the visible images are pulled leftwards too. Also I need to orient the UL css left to 0 again. I am unable to get the smooth effect I see in jcarousel. What am I missing. ~niraj