Folks,
I got a request to make a carousel that functions in a loop. So, panes are coming back. See: http://www.hetstormt.com/?cid=2
Possible within our action?
Not with the ScriptyCarousel as it currently stands. The Action could
support it, but the underlying JavaScript library (Glider.js) doesn’t
have that feature yet.
Walter
On Mar 8, 2010, at 6:24 PM, paulvw wrote:
Folks,
I got a request to make a carousel that functions in a loop. So,
panes are coming back. See: http://www.hetstormt.com/?cid=2
Possible within our action?
Ok, I need to tell my client that won’t work out this time then. I made the Carousel with WepYep on some websites, so it is important that I don’t add other scripts in there but stick to what we have in FW.
Is there another method for looping? I really like the carousel and how it works perfectly inside FW, but like Paul would prefer a loop rather than skipping back to pane 1 - especially when there are 5-10 panes, it looks a bit messy.
I’ve looked at this problem a few different ways, and concluded that it’s going to take hours and days to build and test. At the moment I don’t have that time to spare. From my investigation of the library (Glider.js) that’s behind the original effect, there was at least a token attempt made to start this (in coder parlance, it was “stubbed out”) but the actual work of it was never done. I believe I use the latest version of Glider, and this feature has still not been added.
The steps to take are, roughly, these:
Add a preference to toggle the option.
Duplicate the first pane at the end of the panes, and adjust the inner “film strip” DIV’s width to fit.
Extend the animation function so that if it is animating the last pane, it will reset the film strip to 0px left at the end of that cycle.
The brevity of this list belies the complexity of each of these steps. But if anyone has the time to take it on and get it working, the code is all at Github[1], so please fork away!