Hello.
Is there any way to open specific window only once ? I have some URL that I want the user to open only one instance of. I don’t want to use modal window as the user can do other things while window is open.
thanks.
<i> </i><html> <head> <title>One Instance</title> <script language="JavaScript"> myWin = false; function doWindow(){ if(!myWin){ myWin = window.open("http://www.nicksscripts.be",""); } if(myWin.closed){ myWin = window.open("http://www.nicksscripts.be",""); } } </script> </head> <body> <input type="button" onClick="doWindow()" value="Open the Window"> </body> </html>
Help @gtekAmir spread the word by sharing this article on Twitter...