Skip to main content
Participant
January 22, 2009
Question

Image Gallery/Scroller from Recordset

  • January 22, 2009
  • 1 reply
  • 335 views
Hi im trying to create an image gallery/scroller on my product information page. All the image names are stored in a recordset but i want to be able to automatically scroll through the images. i hvae tried using jQuery but i dont like that all the images are displayed as the page is loading causing the page to stretch making it look bad until it loads.

what i want is to load the first image in the recordset then after 2/3 seconds load the next image in the recordset and continue doing this unitl the end, when at the end start over again and so on.
This topic has been closed for replies.

1 reply

Inspiring
January 22, 2009
Put the image in an iframe. meta refresh the iframe at your desired interval and use some variable to determine the image you want. For your recordset, either cache the query or make it a session variable so you don't have to keep running it.
Participant
January 22, 2009
how can i refresh the iframe say after 3 seconds??

also would it not be obvious to the user that the images are being displayed in an iframe??

Sorry its just i thought there would be a plugin or a tag that would manage this

Thanks