Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Feedback on: irt.org FAQ Knowledge Base Q428

irt.org | About | Feedback | 4557 [ previous next ]

Feedback on:
irt.org FAQ Knowledge Base Q428

Sent by
AlanK on Friday May 11, 2007 at 04:49:34

Worth:
Not worth reading

Length:

Technical:
Not technical enough

Comments:
I dont think this solution answered the problem so i will :)

If you want to only have 1 popup window open at once (i.e. if the user clicks a link which opens a popup, then clicks another link which is also going to open a popup) then you can do this to make sure the 2nd popup replaces the 1st:

<a href="#" onclick="window.close('myPopup'); window.open('someURLToAPage', 'myPopup', 'scrollbars=no, width=640px, menubar=no, toolbar=no, resizable=no');">click here for popup<a>

So basically you give all your popups the same name (myPopup in this case) so evertime you open a popup, you 1st call .close() on the popup and then open the new one.




Other feedback on 'irt.org FAQ Knowledge Base Q428' - show all


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 21st December 2007. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.