Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: HTML
Expertise: Intermediate
Dec 7, 2004

Open Only One Instance of a Popup Window in an HTML Page

To open only one instance of a popup window in an HTML page, use the windowName parameter of the window.open method.

For example window.open('http://www.devx.com') will open a new window each time the user clicks the link containing the window.open code. In constrast, window.open('http://www.devx.com','devx') will open only one instance of the window, no matter how many times users click the link.

MS Sridhar
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap