Click to See Complete Forum and Search --> : change content in external layer


DonMArtin
09-16-2003, 10:59 AM
Hello,

I'm still looking for an elegant solution to exchange the content in a window.open. I want to see there the enlarged pictures when I click on the thumbnails. The window should come in front each time a different thmb is clicked and the enlarged pics should change. It's not really working with document.write. The enlarged pics are found sometimes and sometimes not. On Mac the window.open closes on the 2nd click and so on. Can I put a layer on the window.open and change its content from a different page? F.e with the OnMouseOver - hidden - visible - thing?

Thank YOu

Alex

Khalid Ali
09-16-2003, 11:08 AM
take a look,I am sure you will find a solution for your problem

http://www.webapplikations.com/pages/html_js/image_examples/OpenThumbNailsInFullImage.html

DonMArtin
09-16-2003, 11:26 AM
Yes, it looks nice as long as I click the 1st pic. But a click on the 2nd leaves the opened window empty and shows the enlarged pic in the mother-page. I'm using IE6.0.
Have a look on my testing-page:

http://www.herrnaumann.de/wandkunst/

Sometimes the pics are found and if not, close the window.open and try again. It may find it then. Clicking on the next thmb changes the content with shortly closing window.open and putting it in front again. Looks nervous and unprofessional. And as I mentioned Mac closes the window when the 2nd thmb is clicked. Maybe I should try it with a formular on the mother-page and a php-pic-array in the window. And then use a previous-next option on the window.open?

Do you have a good idea?

Thanks Alex