View Full Version : link without iframe
chechu
02-22-2007, 03:27 PM
Hey you all,
Is it possible to have a link to another part in the page using divs instead of iframes ? I want to place a lot of small imgs, and have them look bigger on the same page by linking. Then I want to be able to use the lightbox clicking on the biggest image.
I would love to mix these two effects:
http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm
and
http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm
Appreciate your help !
Blake
02-23-2007, 09:43 PM
You mean something similar to what I have on my site here?
http://www.blake-foster.com/art.html
I did that by making a div tag that holds the image, positioned absolutely on top of the rest of the content, and with the display initially set to none. Clicking one of the thumbnails first resizes the div to match the size of the image, then changes the src attribute of the image in the div tag to match the url of the image that was clicked on, and then makes the div visible.
I can explain more if this is what you're trying to do.
chechu
02-24-2007, 01:17 PM
Thanks for your reaction, but that was not exactly what I am looking for.
Let's say I have thumbnails on the left of the page. What I would like is that, when you click on a thumnail, the larger image appears on the right of that page. This can be done easily with an iframe, but because I want to use the lightbox on the larger img, I cannot place it in an iframe. So how do I solve this ?
mburt
02-24-2007, 01:32 PM
Do you want a vertical column on the left to display the images, and a column on the right for a large one?
chechu
02-25-2007, 01:16 PM
Yes indeed !
chechu
02-25-2007, 01:29 PM
Can the coding in this thread be adapted to my needs ?
http://www.dynamicdrive.com/forums/showthread.php?t=16055
Could it have a similar effect ?
chechu
02-28-2007, 10:15 AM
Do you want a vertical column on the left to display the images, and a column on the right for a large one?
Somthing like on this page, only that I want the bigger images to appear at the right (click on the paintings)
http://users.telenet.be/abstractpaintingsserge/schilderijen.htm
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.