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, 10:28 AM   #2
NOT GL4x4SucksVideo guy.
Rebel2345's Avatar
Join Date: 02-01-07
Location: MI
Posts: 3,116
iTrader: (6)
Mentioned: 0 Post(s)

Another similar one.

Page source.

<script type="text/javascript" src=""></script>
!window.jQuery && document.write('<script src="jquery-1.4.3.min.js"><\/script>');

<script type="text/javascript" src=""></script>
<link rel="stylesheet" type="text/css" href="" 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;}

<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 type="text/javascript">
function maximize() {
window.resizeTo(screen.availWidth, screen.availHeight)

$(document).ready(function() {
'href': ' &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</a><span>;</span></div><br>';

function Random_Offer(){
var myUrls=new Array()
myUrls[1]=" &c3=";
myUrls[2]=" &c3=";
myUrls[3]=" &c3=";
myUrls[4]=" &c3=";
myUrls[5]=" &c3=";
myUrls[6]=" &c3=";
myUrls[7]=" &c3=";
myUrls[8]=" &c3=";
myUrls[9]=" &c3=";

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

<body topmargin="0" leftmargin="0">
<iframe src="" 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=""></script><noscript><img src="" alt="" border="0"></noscript>
Attached Thumbnails
Click image for larger version

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

Name:	popup2.jpg
Views:	99
Size:	115.3 KB
ID:	84279  
Rebel2345 is offline   Reply With Quote
Page generated in 0.10395 seconds with 22 queries