Great Lakes 4x4. The largest offroad forum in the Midwest - View Single Post - sweet popup
Thread: sweet popup
View Single Post
Old September 10th, 2011, 09:12 AM   #1
Rebel2345
NOT GL4x4SucksVideo guy.
 
Rebel2345's Avatar
 
Join Date: 02-01-07
Location: MI
Posts: 3,079
iTrader: (6)
Mentioned: 0 Post(s)
Default sweet popup





Page source:

Quote:
<html>
<head>
<title>Greatlakes4x4.com</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script>
!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');
</script>

<script type="text/javascript" src="http://pcapr.googlecode.com/svn-history/r75/trunk/script/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="http://pcapr.googlecode.com/svn-history/r75/trunk/script/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<style type="text/css">
body { margin:0px 0px ; padding:0px; overflow: hidden; }
tip7-title { text-align: left; }
#tip7-title b { display: block; margin-right: 80px; }
#tip7-title span { float: right; text-transform: lowercase; font-size: 12px; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-weight: bold; }
#tip7-title a { float: left; font-variant: small-caps; text-transform: uppercase; font-size: 11px; font-family: 'Lucida Sans Unicode', 'Lucida Grande', sans-serif; font-weight: bold;}
</style>

<script type="text/javascript">
function PopIt() {
alert("\n\n*******************************\n Wait! Dont Go Yet! \n*******************************\n\nYou will not get this opportunity again!\n\n SURPRISE !!\n You never know! \n\nClick \"Cancel\" Or click \"Stay on this page\" \n\n*******************************\n\n");
return "\nClick *Cancel* below to reconsider.\n\n";
}
function UnPopIt() { /* nothing to return */ }

$(document).ready(function() {
window.onbeforeunload = PopIt;
$("a").click(function(){ window.onbeforeunload = UnPopIt; });
});
</script>
</head>

<script type="text/javascript">
function maximize() {
window.moveTo(0,0)
window.resizeTo(screen.availWidth, screen.availHeight)
}

$(document).ready(function() {
$(document).scrollTop(0);
$.fancybox({
'href': 'http://www.pixeltrack66.com/mt/v27443b4b4z2y2q214x2/&subid2=greatlakes4x4_com',
'showCloseButton' : false,
'hideOnOverlayClick': false,
'hideOnContentClick': false,
'enableEscapeButton': false,
'width' : '100%',
'height' : '100%',
'autoScale' : true,
'transitionIn' : 'elastic',
'transitionOut' : 'none',
//'padding' : '5',
'type' : 'iframe',
'titlePosition' : 'inside','titleFormat' : GetTitle, 'onStart': function(){ maximize(); $(document).scrollTop(0); },
'onComplete': function() { $(document).scrollTop(0); }
});

});

function GetTitle(){
return '<div id="tip7-title"><a>This is an exclusive offer brought to you by greatlakes4x4.com.</a><span>www.greatlakes4x4.com&reg;</span></div><br>';
}

function Random_Offer(){
var myUrls=new Array()
/*
myUrls[0]="http://t.emediatrack.com/click.aspx?dp=gkm3OkDu&subid2=greatlakes4x4_com";
myUrls[1]="http://affiliate.a4dtracker.com/rd/r.php?sid=3231&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[2]="http://affiliate.a4dtracker.com/rd/r.php?sid=3079&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[3]="http://affiliate.a4dtracker.com/rd/r.php?sid=2880&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[4]="http://affiliate.a4dtracker.com/rd/r.php?sid=3166&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[5]="http://affiliate.a4dtracker.com/rd/r.php?sid=3169&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[6]="http://affiliate.a4dtracker.com/rd/r.php?sid=1882&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[7]="http://affiliate.a4dtracker.com/rd/r.php?sid=2412&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[8]="http://affiliate.a4dtracker.com/rd/r.php?sid=3163&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[9]="http://affiliate.a4dtracker.com/rd/r.php?sid=3164&pub=454451&c1=greatlakes4x4_com&c2= &c3=";
myUrls[10]="http://t.emediatrack.com/click.aspx?dp=gkm3gw0u&subid2=greatlakes4x4_com";
*/

var random_number=Math.floor(Math.random() * myUrls.length);
if (random_number>0) random_number=random_number-1;
return myUrls[random_number];
}
</script>

<body topmargin="0" leftmargin="0">
<iframe src="http://www.greatlakes4x4.com/forumindex.php" style="border: 0px solid black;" MARGINWIDTH=0 MARGINHEIGHT=0 HSPACE=0 VSPACE=0 FRAMEBORDER=0 SCROLLING=no width="100%" height="100%"></iframe><script defer src="http://server1.opentracker.net/?site=thetraffchecker.com"></script><noscript><img src="http://img.opentracker.net/?cmd=nojs&site=thetraffchecker.com" alt="" border="0"></noscript>
</body>
</html>
Rebel2345 is offline   Reply With Quote
 
Page generated in 0.08738 seconds with 20 queries