Pop Over DHTML Ads

[Total: 0    Average: 0/5]

This script will produce a pop up window that isnt blocked by pop up blocker programs.

Head Code:

 *  JS/CSS Pop over script by Dave Lauderdale
 *  Originally published at:  www.digi-dl.com
 *  Code modified by JS-X.com to make it compatible with NS browsers. (May, 2004)
var isDOM=document.getElementById?1:0;
var isIE=document.all?1:0;
function showWin()
if(isDOM) {document.getElementById("winDisplay").style.display="";}
else if(isIE){ winDisplay.style.display = "";}
function closeWin()
if(isDOM) {document.getElementById("winDisplay").style.display="none";}
else if(isIE){ winDisplay.style.display = "none";}

Init Code:


Body Code:

Data on your page goes here...
<table id="winDisplay" cellSpacing="0" cellPadding="0" border="1" width="100%" height="100%" bgcolor="white" style="display:none; left:0px; position:absolute; top:0px; border-left: black 1px double; border-right: black 1px double; border-top: black 1px double; border-bottom: black 1px double">
<td align="left" valign="top" bgcolor="blue" width="100%" height="10px">
<font color=white size=2 face=arial><b>

<!-- Your page title goes here  -->

Your Title Here...

<td width="10px" height="10px" bgcolor="red" align="right">
<font color="white" size="3" face="arial"><span onclick="closeWin()" style="cursor:hand" title="Click here to close this window"><b>X</b></span></font>
<td colspan="2">

<!-- Your window content here goes  -->

<font color=black size=2 face=arial><b>
<center>Your Content Here...</center></b>


Times Viewed: 16

Leave a Reply

Your email address will not be published. Required fields are marked *