I have a site to open some popups automatically with information about the site while the page is loading.
The problem is that this popups are catched by the popup blockers of the internet browsers.
There is a snippet to override the popup blockers, something simple and easy.
This is one of the scripts that I coded,
Where file.html is what will be shown in the popup, it can be an html file, a jpg image and so.
The problem is that this popups are catched by the popup blockers of the internet browsers.
There is a snippet to override the popup blockers, something simple and easy.
This is one of the scripts that I coded,
Code:
<script language="javascript">
window.open ('file.html','newWin','width=351,height=322,left=414,top=316,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No');
NewWindow.focus();
setTimeout('NewWindow.close()',6000);
void(0);
</script>
Where file.html is what will be shown in the popup, it can be an html file, a jpg image and so.