PDA

View Full Version : create auto pop



j4q0
06-10-2006, 11:41 PM
Hi everyone.
I need to create an auto pop up window in my website and I don't know how to do this.
Can any one help me?

djr33
06-11-2006, 06:52 AM
Google is your friend here. Lots of scripts are out there.

however, you want an AUTO popup, which is exactly what all popup blockers block.

If you had one that was based on user input, like a click (on a link, etc.), that would likely be allowed, but not the automatic one.

Jack
06-11-2006, 07:07 AM
He's right... Run a search with quotes added for "auto pop up" and your sure to find what your looking for. I just ran a search and there are a lot of them.

Or you can try this one!

<html>
<head>
<title></title>
</head>
<body onload="win('http://www.beholdhecomes.net','','750','500','0','0','1','width=750,height=500')">
<script type="text/javascript">
<!--//
function win(u,n,w,h,l,t,c,f) {
var x=((screen.width-w)/2);if(c==1){l=x;t=(screen.height-h)/2;}if(c==2){l=x}
f+=',top='+t+',left='+l;LvlWin=window.open(u,n,f);LvlWin.focus();
}
//-->
</script>
</body>
</html>