Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Multiple Click Problem 1

Status
Not open for further replies.

christophermichael

Programmer
Dec 11, 2004
6
US
I program most in PERL but my new scripts require JavaScript and there's a problem i am experiencing. Not a huge one but i wanted to see if I should be experiecing it...and if I can fix it.

Basically it's an image link that calls on JavaScript to open an image in another window. No problem. Can then close the window. No problem. But if you click on the icon to open it again, it won't work. I can reload and do it again. I can also click one of the other icons that open another box. But I can do each only once.

In IE, you receive the Error On Page icon in the status bar AFTER clicking one of the icons. Nothing shows in Firefox. But neither will open the same window without refreshing.

Anything clues as to what i could do, if anything?
Thank you!
 
try to replace
Code:
imageWindow = window.open('view_image.cgi?category=Personal&image=4', 'window', 'toolbar=no,location=no,scrollbars=yes,resizable=yes,width=300,height=400')
by
Code:
window.open('view_image.cgi?category=Personal&image=4', 'window', 'toolbar=no,location=no,scrollbars=yes,resizable=yes,width=300,height=400')
hope this helps.
 
Thank you vcry much! Stupid 'error'. I did copy this from JS that I had to use for another program however it worked with that particular program but obviously not so well with this one. Problem is fixed! Thanks a million.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top