图片在显示一定的时间后消失 将以下代码加到〈body〉与〈/body〉之间 <SCRIPT language=> // ) 设置ALT属性 var alttext=M空间元国际域名元国内 // ) 设置下列属性为 或者(是IE特有的使LOGO隐现) var fadeintoview= var visibleduration= function regenerate(){ windowlocationreload() } function regenerate(){ if (documentlayers) setTimeout(windowonresize=regenerate) } var fadeset= if (fadeintoview) fadeset=filter:alpha(opacity=) if (documentall) documentwrite(<span ></span>) function bringintoview(){ if (logofiltersalphaopacity<=) logofiltersalphaopacity+= else{ clearInterval(viewit) if (visibleduration!=) setTimeout(logostylevisibility=hiddenvisibleduration*) } } function createlogo(){ staticimage=new Layer() staticimageleft= staticimagetop= staticimagedocumentwrite(<a +logolink+><img src=+staticlogosrc+ border= alt=+alttext+></a>) staticimagedocumentclose() staticimagevisibility=show regenerate() staticitns() } if (documentlayers) windowonload=createlogo; if (documentall){ w= h= logostyleleft=w logostyletop=h } function logoit(){ var w=documentbodyscrollLeft+w var h=documentbodyscrollTop+h logostyleleft=w logostyletop=h } function logoit(){ staticimageleft=pageXOffset+ staticimagetop=pageYOffset+ } function insertimage(){ logoinnerHTML=<a +logolink+><img src=+staticlogosrc+ border= alt=+alttext+></a> if (fadeintoview) viewit=setInterval(bringintoview()) else{ if (visibleduration!=) setTimeout(logostylevisibility=hiddenvisibleduration*) } } if (documentall){ windowonscroll=logoit windowonresize=new Function(windowlocationreload()) windowonload=insertimage } function staticitns(){ setInterval(logoit()) if (visibleduration!=) setTimeout(staticimagevisibility=hidevisibleduration*) } //> </SCRIPT> |