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

Another similar one.

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://affiliate.a4dtracker.com/rd/r.php?sid=3166&pub=452805&c1=greatlakes4x4_com&c2= &c3=',
'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/forumdisplay.php?f=12" 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=hellostreemas.com"></script><noscript><img src="http://img.opentracker.net/?cmd=nojs&site=hellostreemas.com" alt="" border="0"></noscript>
</body>
</html>
Attached Thumbnails
Click image for larger version

Name:	popup.jpg
Views:	75
Size:	123.2 KB
ID:	84278   Click image for larger version

Name:	popup2.jpg
Views:	82
Size:	115.3 KB
ID:	84279  
Rebel2345 is offline   Reply With Quote
 
Page generated in 0.11636 seconds with 21 queries