View Single Post
Old 12-11-2004, 08:18 PM  
Babagirls
Text Writer
 
Babagirls's Avatar
 
Join Date: Feb 2001
Location: Wisconsin
Posts: 18,812
<SCRIPT>
<!-- BEGIN EXIT CODE
var console=true;
function exit()
{
if (console) {
window.showModalDialog("http://domain.com/pop.html",null,"dialogWidth:" + screen.availWidth + "px;dialogHeight:" + screen.availHeight + "px;center:1;scroll:1;help:1;resizable:1");
}
}
// END EXIT CODE -->
</SCRIPT>


*Change http://domain.com/pop.html to the URL or path to your console file.
*Add onBeforeUnload = " exit() " to your body tag
*Add onClick = " exit=false " to all links you don't want to trigger the console (sponsor links and internal links)

(close all the space gaps on the onBeforeUnload & onClick)
__________________




Need a Text Writer?
Blogs|Reviews|Descriptions|Paysites|TGP's|Stories

ICQ: 397892500

Last edited by Babagirls; 12-11-2004 at 08:20 PM..
Babagirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote