Java Script

Popup Window Generator



 

Simply copy the  code below into the <BODY> section of your webpage, and you’re done!

 

<script type=”text/javascript”>   
//Specify URLs to randomly select from and popup/popunder:
//To display a single URL, just remove all but the first entry below:
var popurls=new Array()
popurls[0]=http://www.shefeekj.com
popurls[1]=http://www.google.com
popurls[2]=http://www.orkut.com
popurls[3]=http://www.yahoo.com

function openpopup(popurl){
var winpops=window.open(popurl,”",”width=,height=,toolbar,location,status,scrollbars,menubar,resizable”)
}

openpopup(popurls[Math.floor(Math.random()*(popurls.length))])

</script>

Share

Thanks for reading my blog. If you like what I write, why not subscribe to my feed?

If you are busy, I can send the latest post to your email. Just subscribe to my email updates.

 

Enter your email address:

Delivered by FeedBurner

Discussion

No comments for “Popup Window Generator”

Post a comment