PDA

View Full Version : Thumbnail enlargement on the same page new window



Magnum777
10-16-2007, 12:23 AM
Hi folks:

I am a novice coder who love awesome graphical displays. Please does anybody know how I can achieve a thumbnail to open on a new window on the same page with a pop-up that can expand or minimized as shown in this link:

www.display-tec.com

please search "Clocks" to get the desired effects.

Thanks.

djr33
10-16-2007, 12:30 AM
Check out lightbox here: http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm

Magnum777
10-16-2007, 12:50 AM
djr33:

Thanks for your quick response. But a closer observation will reveal that the link you pointed me to does not expand or diminish. All it has is a close option. Also the link does not have room for captions or descriptions.

I have thumbnails that can expand within the same page but they don't expand or dimish. I will really love to have expand or diminish capability as shown in my original posting.

Again, thanks for your speed try/response.

djr33
10-16-2007, 01:20 AM
That's a popular script. Seemed to be close to what you wanted.

Perhaps this?
http://www.dynamicdrive.com/dynamicindex4/frogjs/index.htm

Anyway, take a look through here:
http://www.dynamicdrive.com/dynamicindex4/indexb.html

(and in a few categories around that)

This might also relate, though it is somewhat differet:
http://www.dynamicdrive.com/forums/showthread.php?t=25551

Magnum777
10-16-2007, 05:08 AM
djr33:

Thanks a lot. You have given me enough. I have used FrogJS in the past.

I guess I will keep trying to find it unless some body can get directed from the existing code.

Thanks.

djr33
10-16-2007, 05:25 AM
By the way, whatever the effect should be, it's just a plain popup window with the image in it for Firefox 2.0 for Mac. Most scripts are compatible, too, so I'm surprised. I am assuming that's not the effect you want (if so, very easy... just a popup, but, again, likely not what you want). It's likely that what I'm seeing is the fallback. Does this script work in anything other than IE? (random guess)

jscheuer1
10-16-2007, 07:40 AM
<img src="some_thumb.jpg" style="cursor:pointer;" title="Click image for an enlarged view"
onclick="window.open('some_page.htm','popup','height=370,width=730,resizable,scrollbars')">

Edit some_thumb.jpg and some_page.htm to be the image and page you want. Use as many of these on a page as you like. The height and width values may also be changed if you want.