Problemas con el código fuente de anuncios pareados en ASP
lt;htmlgt;
lt;headgt;
lt;titlegt;Publicidad en coplas - Citk.Netlt;/titlegt;
lt;meta http-equiv="Content-Type" content="text/html; charset=gb2312"gt;
lt;/headgt;
lt body style="margin: 0px;"gt;
lt;div align="center"gt;
lt; centergt;
lt; borde de la tabla="1" ancho="776" altura="3000 " cellpacing="0" cellpadding="0"gt; ;trgt;
lt;td width="100" valign="top"gt;lt;div align="center" style="color: verde;font-font-weight: 0" gt;
lt; borde de la tabla="1" ancho="776" alto="3000 verde; tamaño de fuente: 23pt; familia de fuentes: negrita; "gt; brgt; ;brgt;facelt;brgt;districtlt;brgt;domainlt;/divgt;lt;/tdgt;
lt;/trgt;
lt;/tablegt;
lt;/centergt;
lt;/divgt;
lt;SCRIPT LANGUAGE="JavaScript"gt;
lt;! --
var showad = true;
var Toppx = 60; //posición superior
var AdDivW = 100 //ancho
var AdDivH = 360; //height
var PageWidth = 800; //Número de píxeles para el ancho de la página para evitar las barras de desplazamiento izquierda y derecha
var MinScreenW = 1024; / Ancho mínimo de pantalla en píxeles para mostrar anuncios
var ClosebuttonHtml = 'lt; div align="right" style="position: absoluta.top: 0px; right: 0px; margin: 2px; padding: 2px ; z -index: 2000;"gt;lt;a href="javascript:;" onclick="hidead()" style="color: rojo;decoración del texto: ninguna;tamaño de fuente: 12px;"gt;lt ;closelt; /agt;lt;/divgt;'
var AdContentHtml = 'lt;div alig
n="centro" estilo="color: verde; tamaño de fuente: 23pt; familia de fuentes: negrita; "gt; brgt; brgt; ;inlt;brgt;capacitylt;/divgt;';
document.write ('lt;div id="Javascript.LeftDiv" style="posición: absoluta; borde: 1px sólido #336699; fondo- color: #EEEEE2; índice z: 1000; ancho: ' AdDivW 'px. alto: ' AdDivH 'px; salto de palabra: romper-todo; "gt; ' ClosebuttonHtml 'lt; divgt;' AdContentHtml 'lt;/divgt.lt;/divgt;');
document.write ('lt; div id="Javascript.RightDiv" style="posición: absoluta; borde: 1px sólido #336699; color de fondo: #EEEEE2; índice z: 1000; ancho: ' AdDivW 'px; alto: 'gt' ;' ClosebuttonHtml 'lt;divgt;' AdContentHtml 'lt;/divgt; lt;/divgt;');
función scall(){
if(!showad){return ;}
if (window.screen.widthlt;MinScreenW){
alert("Consejo temporal:\n\n el ancho de la resolución del monitor es menor que " MinScreenW ", no mostrar anuncios");
showad = false;
document.document.getElementById("Javascript.LeftDiv").style.display="none";
document.getElementById("Javascript.RightDiv").style.display=" none";
return
}
var Borderpx = ((window. screen.width-PageWidth)/2-AdDivW)/2;
document.getElementById("Javascript.LeftDiv").style.display="";
document.getElementById( " Javascript.LeftDiv").style.top=document.body.scrollTop T
oppx;
document.getElementById(" Javascript.LeftDiv").style.display=" ninguno"
return; p> var Borderpx = ((window.screen.document.getElementById("Javascript.LeftDiv").style.left=document.body.scrollLeft Borderpx;
document.getElementById("Javascript. "Javascript. RightDiv").style.display="";
document.getElementById("Javascript.
document.getElementById("Javascript.RightDiv").style.top=document.body .scrollTop Toppx;
document.getElementById("Javascript.RightDiv").style.left=document.body.scrollLeft document.body.clientWidth-document .getElementById("Javascript.RightDiv").offsetWidth- Borderpx;
}
función hidead()
{
showad = false;
document.getElementById ("Javascript.LeftDiv").style.display="none";
document.getElementById("Javascript.RightDiv").style.display="none";
documento .getElementById("Javascript.RightDiv").style.display="none";
}
window.onscroll=Llamar;
window.onresize= Llamar;
window.onload=Llamar;
//--gt;
lt;/SCRIPTgt;
lt;/ bodygt;
lt;/htmlgt;
Este es código JavaScript que se puede utilizar en HTML y ASP. Sin embargo, sólo se puede mostrar si su navegador no bloquea dichos anuncios.