Closed (won't fix)
Project:
Thickbox
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2007 at 04:40 UTC
Updated:
19 Sep 2010 at 06:41 UTC
Hi.
Is there a way how to make images to be played in continuous javascript sideshow (i.e. without clicking the image or button)?
Comments
Comment #1
jacobw commentedI'd like this too.
Comment #2
suprphrk commentedI've tried adding this to thickbox using both setTimeout and setInterval, and it works, but buggy. The problem is that the images are not pre-loading, so when the interval kicks off at 7 seconds, it has to load the images. That takes up interval time. So say that the image takes 5 seconds to load, that means it displays the image for 2 seconds before starting over and kicking off the "loading" icon.
Another way that I'm thinking about doing this is by changing the loading icon to the current window, so they can't see a loading, they see the current picture. I don't know if I'm making sense. If I have any luck, I'll post up here what I did.
Comment #3
nbj622 commentedHey suprphrk, can you post the setTimeout and setInterval code you used to create the (buggy) slideshow with thickbox? Thanks
Comment #4
frjo commentedI would like to add a slideshow feature to Thickbox. If you have some solution please post a patch.
Later versions of thickbox.js does preload the images.
Comment #5
frjo commentedPlease test the new Colorbox module, it has tis feature.
http://drupal.org/project/colorbox
I have ported all Thickbox features to Colorbox so it should work as a drop in replacement.
When Colorbox has a stable release I will start actively recommend people to switch/upgrade from Thickbox to Colorbox. I'm the maintainer of Thickbox and a co-maintainer of Colorbox.