Internet and Programming are not only for the Genius.
Utilize Internet and Programming for Your Own Benefits. Have fun with it.

 

Tuesday, May 1, 2007

How to Create Pop-up on Timer

Put this between <HEAD> and </HEAD>:
<script language="JavaScript" type="text/javascript">
<!--
var allowpop=1;
function popWin(){
var myWin=window.open('http://code4fun.blogpspot.com',
'info','width=350,height=350,menubar=0,toolbar=0,location=0,scrollbars=yes,
resizable=yes,status=0');
myWin.blur();}
// -->
</script>

Put this in the <BODY> tag:
<body onload="setTimeout('popWin()',10000)" >

--
Rm 8 : 28; Is 55 : 8-13

No comments: