Lightweight Exit Popunder

Marty Sullens July 14, 2010 0

Another script I’ve needed in the last few days was a popunder for my site, Once again it was difficult to find one that would do exactly what I needed so I made my own. and I’m sharing it with you all here.

Its dead simple and should be easy to install.

VIEW CODE

Thats it, Happy popping!


<script>
//specify page to pop-under
var popunder=”popunder_code.html” 

//specify popunder window features
//set 1 to enable a particular feature, 0 to disable
var winfeatures=”width=800,height=300,scrollbars=0,resizable=0,toolbar=0,location=0,menubar=0,status=0,directories=0,address=0,”

function loadpopunder(){
win2=window.open(popunder,”",winfeatures)
win2.blur()
window.focus()
}
</script>

Leave A Response »