chuckkidd
07-03-2005, 01:15 AM
I have a page with multiple images on it.I need to be able to click on an image and have a popup window load a url and center it on the screen. it must retain focus so i can click another image on the main page and load a different url into the popup and have it come back to the front (get focus).
I have tried to write it myself and almost got it. the problem i have is:
if i click an image the popup comes to the front ok but is not centered, i can click another image and it comes back to the front ok. However if I close the popup and then click on another image to open the popup again i get a script error. Only happens when i manually close the popup with the X in the corner.
this is a link to the page withthe images and code.
http://www.lhfcorp.com/wood/rightlaminate.html
can someone please help fix it. I am totally lost as to what to do.
Thanks a bunch...Chuck Kidd
I have tried to write it myself and almost got it. the problem i have is:
if i click an image the popup comes to the front ok but is not centered, i can click another image and it comes back to the front ok. However if I close the popup and then click on another image to open the popup again i get a script error. Only happens when i manually close the popup with the X in the corner.
this is a link to the page withthe images and code.
http://www.lhfcorp.com/wood/rightlaminate.html
can someone please help fix it. I am totally lost as to what to do.
Thanks a bunch...Chuck Kidd