View Single Post
Old 05-13-2009, 11:17 AM   #1
Abihail2
Senior Member
 
Abihail2's Avatar
 
Join Date: Dec 2008
Location: canada
Posts: 1,971
Abihail2 will become famous soon enough
Smile how to add pop ups to ur site

<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]="ur site"
popurls[1]="ur site"
popurls[2]="ur site"
popurls[3]="ur site"

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

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

</script>

just put that into ur html and ur done!
__________________

Site I'm selling. free paypal money
Abihail2 is offline