<script type="text/JavaScript" src="../../Resources/JSFiles/jquery-1.7.2.min.js"></script>
<script type="text/JavaScript" language="JavaScript">
var mine = window.open('Page Path','popuptest','width=1px,height=1px,left=0,top=0,scrollbars=no');window.close();
if(!mine|| mine.closed || typeof mine.closed=='undefined')
{
popUpsBlocked = true
alert('pop-up is blocked on your system.\n Please turn on your pop-up blocker.');
if(mine!=null)
mine.close();
}
else
{
popUpsBlocked = false
var cookieCheckTimer = null;
cookieCheckTimer = setTimeout('testPopup();', 1000);
}
mine.close();
function testPopup()
{
if(mine)
{
if(mine.test())
{
popUpsBlocked = false;
mine.close();
}
else
{
alert('pop-up is blocked on your system.\n Please turn on your pop-up blocker.');
popUpsBlocked = true;
}
mine.close();
}
}
</script>
<script type="text/JavaScript" language="JavaScript">
var mine = window.open('Page Path','popuptest','width=1px,height=1px,left=0,top=0,scrollbars=no');window.close();
if(!mine|| mine.closed || typeof mine.closed=='undefined')
{
popUpsBlocked = true
alert('pop-up is blocked on your system.\n Please turn on your pop-up blocker.');
if(mine!=null)
mine.close();
}
else
{
popUpsBlocked = false
var cookieCheckTimer = null;
cookieCheckTimer = setTimeout('testPopup();', 1000);
}
mine.close();
function testPopup()
{
if(mine)
{
if(mine.test())
{
popUpsBlocked = false;
mine.close();
}
else
{
alert('pop-up is blocked on your system.\n Please turn on your pop-up blocker.');
popUpsBlocked = true;
}
mine.close();
}
}
</script>
No comments:
Post a Comment