Click to See Complete Forum and Search --> : two-step image swap


gfried
10-14-2003, 11:32 AM
Hi -

I'm building a portfolio site for an architect. On one page, there's a row of thumbnails (call them image 1), which when clicked, replace an existing graphic (image 2) with a larger version of the thumbnail.

So far, so good.

What I then need to happen is for that larger image, when clicked, to pop up a new window with a yet larger version of itself.

What I don't know how to do is give the <a href> tag surrounding image 2 the value it needs to pop up the correct html page; that is, the page containing the correct image.

ANy advice would be most appreciated.

Thanks.

gabe friedman

Daria
10-14-2003, 11:59 AM
Make image 2 an html page, rather then an image. (say, image2.html
Put in a code to open a new window (image3) once clicked on the image2.

you cannot do it if you open image 2 as a plain image in a separate window.

Can you post the code or link to the page, if any?

gfried
10-14-2003, 12:10 PM
I see what you're getting at, but the first image swap has to be an image swap rather than a page-load.

You can see the page at http://www.cinukai.com/architecture/soho.html. Click on the thumbnails to swap the larger image. What's missing is the ability to click on the larger image to get the pop-up window.

thanks for your reply.

Daria
10-14-2003, 12:26 PM
Nice arch.design! Loved the bath!

Anyway...
I know that you don't want preload, but the only thing I can suggest is to make the larger image area into an iframe and that way you can put a script in the html page for those images to be enlarged as window.open in a separate window.

Maybe there is a php code or something to that extent that could be done, but I am not good (if not to say - totally bad) at those.