Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org

Feedback on: irt.org FAQ Knowledge Base Q428, Friday May 11, 2007 at 04:49:34

You are here: 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

©2018 Martin Webb