Thread: SP2 popup codes
View Single Post
Old 01-20-2005, 09:25 PM  
HAPPYPEEKERS
Confirmed User
 
HAPPYPEEKERS's Avatar
 
Industry Role:
Join Date: Feb 2004
Location: Margaritaville
Posts: 7,562
<SCRIPT>
<!-- BEGIN EXIT CODE
var console=true;
function exit()
haha123;
if (console) haha123;
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 on BeforeUnload=" exit() " to your body tag
*Add on Click=" exit=false " to all links you don't want to trigger the console (sponsor links and internal links)
__________________
Please Read All Of My Posts In A Sarcastic Tone So You Get The Full Effect!!



HappyPeekers - April
HAPPYPEEKERS is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote