Red de conocimiento informático - Conocimiento sistemático - Proporcione el código fuente de los anuncios de páginas web que se pueden cerrar después de que la página web en la parte superior de la página web se expanda automáticamente.

Proporcione el código fuente de los anuncios de páginas web que se pueden cerrar después de que la página web en la parte superior de la página web se expanda automáticamente.

¡Es! DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " gt;

lthtml gt

lthead gt

ltstyle gt

html, cuerpo { margen: 0; tamaño de fuente: 12px } img { borde: ninguno } p { borde superior: 5px sólido #660000; relleno: 40px fondo: #999900; 0px}

lt/style gt;

lt script gt

var showAD = {

Curva: función (t, b, c, d, s) {

if((t/= d/2) lt; 1) return c/2 * t * t * t b

return c/ 2; *(t-= 2)* t * t 2) b

},

fx: función(desde, hasta, playTime, onEnd) {

var Yo = esto,

quién = esto.adWrap,

posición = 0,

cambiarVal = a - desde,

curva = this.curve

tiempo de reproducción = tiempo de reproducción/10;

quién estilo overflow = ' oculto ';

function_run(){

if(posición lt; tiempo de juego){

quién . ))) " px ";

setTimeout(_run, 10)

} de lo contrario {

onEnd amp amp llámame

}

};

_run()

},

init: función (información) {

var Yo = esto,

loadImg = nueva imagen;

cargar img = info

window.onload = función () {

yo .endimgurl = información .endimgurl;

yo .img = documento .getelementbyid(info .imgid); adwrapid);

var max = me . img altura;

setTimeout(function() {

Me.fx(valor máximo, 0, 500,

Función(x) {

esto img .src = esto .

p>

esta.curva = función (t, b, c, d) {

if((t/= d) lt; (1 / 2.75)) {

Devuelve c * (7.5625 * t * t) b

} else if(t lt; (2 / 2.75)) {

Devuelve c *(7.5625 *(t-= (1.5/2.75))* t . 75) b

} else if(t lt; (2.5 / 2.75)) {

Devuelve c *(7.5625 *(t-= (2.25/2.75))* t . 9375) b

} En caso contrario {

devuelve c *(7.5625 *(t-=(2.625/2.75))* t . 984375) b

}

};

this.fx(0, this.img.height, 600)

}) p>

},

info.timeout || 1000)

};

}

};

showAD.init({

adWrapID: 'ad_box_2009_04 ',

imgID: 'adImg ',

endImgURL: "/neweggpic 2 /Marketing /200906/hot/a . jpg”

});

lt/script gt;

lt/head gt;

ltbody gt

ltdiv id = " ad _ box _ 2009 _ 04 " style = " fondo: BF 0008 " >>p>

ltimg src = "/neweggpic 2/Marketing/200906 /hot /b .jpg " id = " adImg "/ gt;

lt/div gt;

lt/body gt;

lt/html gt ;