Hi !
My question is : How do you popup a new browser window without user action. I want to trigger this in an if.
Something like this :
if (soandso)
{
window.open()
}
The only way I know how to open a new window is with :
<INPUT TYPE='button' VALUE='VoirRésultat' OnClick="window.open('../html/WDJTest.html','Résultat1','width=400,height=200,toolbar=no,location=no,directories=no,status=no,menubar=yes,copyhistory=no,resizable=no')">
My question is : How do you popup a new browser window without user action. I want to trigger this in an if.
Something like this :
if (soandso)
{
window.open()
}
The only way I know how to open a new window is with :
<INPUT TYPE='button' VALUE='VoirRésultat' OnClick="window.open('../html/WDJTest.html','Résultat1','width=400,height=200,toolbar=no,location=no,directories=no,status=no,menubar=yes,copyhistory=no,resizable=no')">