Images slideshow in Thickbox?

truecms.net.au - December 20, 2007 - 04:40
Project:Thickbox
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Hi.
Is there a way how to make images to be played in continuous javascript sideshow (i.e. without clicking the image or button)?

#1

jacobw - January 4, 2008 - 02:13

I'd like this too.

#2

suprphrk - April 9, 2009 - 18:02

I'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.

#3

nbj622 - July 7, 2009 - 05:09

Hey suprphrk, can you post the setTimeout and setInterval code you used to create the (buggy) slideshow with thickbox? Thanks

#4

frjo - July 9, 2009 - 06:37
Version:5.x-1.1» 6.x-1.x-dev

I 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.

 
 

Drupal is a registered trademark of Dries Buytaert.