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

Feedback: irt.org FAQ Knowledge Base Q428

Feedback on:
irt.org FAQ Knowledge Base Q428

Sent by David Rose on October 07, 2002 at 16:39:03: - feedback #4203

Length:
Just right

Comments:
This code is not correct. There is an error in it. If I comment out the settimeout it opens a window....


Sent by Prasanth on Monday April 09, 2007 at 23:29:09 - feedback #4423

Worth:
Worth reading

Length:
Just right

Technical:
Not technical enough

Comments:
hai,
The article was a useful one but still I have a problem.That is, I doesn't want a confirmation message before closing.How can I close the window without that message? Is there any way for it? Please help me.thanks in advance,

Prasanth




Sent by AlanK on Friday May 11, 2007 at 04:49:34 - feedback #4557

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.





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.