Get jQuery to request more images, either as needed (user will wait to see
them) or in advance.
Either create the images you want to get in JS with CF.
<script>
jQuery stuff
var galleryImages = ["image-1.jpg ", " image-2.jpg ", " image-3.jpg
", "image-4.jpg"];
</script>
Or ask the server for the images you want next with an ajaxy request.
I'd load the images into a JS array myelf.
Adrian
> -----Original Message-----
> From: Anthony Doherty [mailto:[email protected]]
> Sent: 22 January 2009 12:27
> To: cf-talk
> Subject: Image Gallery/Scroller from Recordset
>
> 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.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318305
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4