me interesaria saber como crearme un prepoup (layer) para mi aca les dejo uno de una empresa pero quisiera saber como crearme uno para mi en particular.
<div id="DirectaLayer" style="visibility:visible; position:absolute; left: 150px; top: 50px; width: 720px; height: 300px; z-index: 2;" onClick="document.getElementById('DirectaLayer').s tyle.visibility='hidden';">
<div align="right">
<input name="Submit" type="button" tabindex="1" value="X" onClick="document.getElementById('DirectaLayer').s tyle.visibility='hidden';" style="z-index:2; position:absolute; left:690px; width:30px; padding:0px;">
</div>
<script type="text/javascript" language="javascript">
var resizeableScriptURL = "http://ad.directanetworks.com/st?ad_type=pop&ad_size=0x0§ion=188450&banned_p op_types=23&pop_times=1&pop_frequency=0&nopopblock ing=0";
var fixedScriptURL = "http://ad.directanetworks.com/st?ad_type=pop&ad_size=0x0§ion=188450&banned_p op_types=23&prepopped_width=720&prepopped_height=3 00&pop_times=1&pop_frequency=0&nopopblocking=0";
function doPopAction()
{
var ventana = open("about:blank","","directories=no,location=no, menubar=no,status=no,titlebar=no,toolbar=no",false );
if(ventana!=null)
{
document.getElementById("DirectaLayer").style.visi bility="hidden";
ventana.blur();
ventana.document.write("<html><head><title>Directa Network's Advertisement</title></head><body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><scr" + "ipt type=\"text/javascript\" language=\"javascript\" src=\"" + resizeableScriptURL + "\"></scr" + "ipt></body></html>");
}
else
{
if (window != window.parent)
return;
document.write("<html><head></head><body marginwidth=0 marginheight=0 leftmargin=0 topmargin=0><scr" + "ipt type=\"text/javascript\" language=\"javascript\" src=\"" + fixedScriptURL + "\"></scr" + "ipt></body></html>");
document.getElementById("DirectaLayer").style.visi bility="visible";
}
}
doPopAction();
</script>