Click to See Complete Forum and Search --> : Scripting a Pop-Up Enlargement of Image


JimColbert
09-06-2003, 01:08 PM
I have written code to allow a pop-up image. Call follows:

<img src="pic/SCPic/BAR/15.jpg" border=0 alt="Patchwork Cats" width="140" height="141" onMouseUp="MM_openBrWindow('http://twiningthread.com/charts/BAR/L15.html','PatchworkCats','resizable=yes,width=512,height=515')">

The problem is that while it works fine in tests from my desktop (IE and Netscape), I can not figure why it does not work once posted to my web site. I can go to another compter (tried two) and the posed copy works from there.

Any suggestions on how to debug this apparently local problem are much appreciated.
I'd be happy to talk to anyone that thinks they might be able to help.
-jim-

Khalid Ali
09-06-2003, 01:57 PM
to me it sounds like you the popup is being opened a little too soon,which is image needs to be loaded first.
try using a settimeout on the window to allow the image to preload comletely.