That is kind of buggy in some browsers unless the image is preloaded and
like you said... that would defeat the purpose of a thumbnail.

You could do something like this...
http://acoderslife.com/gallery/index.cfm?imgaction=full&imgcatid=2&imgid=4
http://acoderslife.com/gallery/index.cfm?imgaction=full&imgcatid=5&imgid=13

It's old but works. Feel free to rip off the source.

....Merry day before the day that I get presents.


-----Original Message-----
From: Snake [mailto:[EMAIL PROTECTED] 
Sent: Sunday, December 24, 2006 2:47 PM
To: CF-Talk
Subject: RE: Image display question?

If you load them all into a JS array then they will all have to load with
the page, with rather defeats the purpose of having a thumbnail.

Just have the palce holder with a blank 1px image and then reload it when
clicking on the thumb

E.g.
<img name="placeholder" id="placeholder" src="blank.gif"> 
<img src="thumb.gif" onclick="document.getElementById('placeholder').src =
'newimage.gif'">

russ

-----Original Message-----
From: Doug Brown [mailto:[EMAIL PROTECTED] 
Sent: 24 December 2006 14:39
To: CF-Talk
Subject: Image display question?

I have a page that I am working on, and am using imageCR3 for resizing and
displaying the thumbnail images, but what I would like to do, is not have to
load another page to show the larger version of the thumbnail images. I
would like a placeholder for the larger image and then the thumbnails below
where they can be clicked on and load the larger images into the
placeholder. I would imagine I would need to place all the larger images in
an array to do this, and do not have much experience with arrays. Can anyone
give me a little guidance in this?







Doug B.





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264979
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to