L
Leo Muller
Hi,
I found a nice way of working around popup blockers. A popup would be opened
automatically, but if it isn't then something else on the page would happen,
like displaying a manual link.
function StartGame(){
var newwin = window.open (http://www.com,"GameWindow","")
if(eval(newwin.opener==this)==true)
{
//if the popup did open do this.
}
else
{
//if the window did not open, do this.
}
}
Since we are all internet developers here, I hope that this may be of use to
anyone. Also comments / improvements are always welcome.
Leo Muller
I found a nice way of working around popup blockers. A popup would be opened
automatically, but if it isn't then something else on the page would happen,
like displaying a manual link.
function StartGame(){
var newwin = window.open (http://www.com,"GameWindow","")
if(eval(newwin.opener==this)==true)
{
//if the popup did open do this.
}
else
{
//if the window did not open, do this.
}
}
Since we are all internet developers here, I hope that this may be of use to
anyone. Also comments / improvements are always welcome.
Leo Muller