Português
<!--把下列代码放到<body>区域中--> <body> <STYLE> .disableHscroll{ width:100%;overflow-x:hidden;overflow-y:scroll; } v:* { COMPORTAMENTO: url(#default#VML) } </STYLE> <SCRIPT> var defaultcolor="#999999" var lineweighthighlight=1 var lineweightnormal=1 var distancetomouse=0 var mousepos_x=0 var mousepos_x=0 var marginleft=0 var margintop=0 var marginbottom=0 var marginright=0 var margincenterx var margincentery var mousepos_x=0 var mousepos_x=0 if (document.all&&window.print){ document.write('<div id="bodycontent" estilo ="posição:relativa">') } função iniciaranimação(){ marginbottom=document.body.clientHeight marginright=document.body.clientWidth margincenterx=Math.floor(marginright/2) margincentery=Math.floor(marginbottom/2) retangulartopleft .to=marginleft+","+margintop rectangulartopright.to=marginright+","+margintop rectangularbottomleft.to=marginleft+","+marginbottom rectangularbottomright.to=marginright+","+marginbottom rectangulartop.to=margincenterx+","+margintop rectangularright .to=marginright+","+margincentery retangularbottom.to=margincenterx+","+marginbottom retangularleft.to=marginleft+","+margincentery retangulartopleft.strokecolor=cor padrão retangulartopright.strokecolor=cor padrão retangularbottomleft.strokecolor=cor padrão retangularbottomright.strokecolor=cor padrão retangulartop .strokecolor = cor padrão retangular à direita.strokecolor = cor padrão retangularbottom.strokecolor = cor padrão retangular à esquerda. retangularbottomright.strokecolor = esta cor realçar retangular top. retangularright.strokeweight=lineweighthighlight retangularbottom.strokeweight=lineweighthighlight retangularleft.strokeweight=lineweighthighlight } } função msout(){ if(document.all&&window.print){ retangulartopleft.strokecolor=cor padrão retangulartopright.strokecolor=cor padrão retangularbottomleft.strokecolor=cor padrão retangularbottomright.strokecolor= cor padrão retangulartop.strokecolor = cor padrão retangular direita.strokecolor = cor padrão retangularbottom.strokecolor = cor padrão retangular esquerda. peso de linha normal retangularbottom.strokeweight = peso de linha normal retangular à esquerda. .from=mousepos_x+","+mousepos_y retangulartopright.from=mousepos_x+","+mousepos_y retangularbottomleft.from=mousepos_x+","+mousepos_y retangularbottomright.from=mousepos_x+","+mousepos_y retangulartop.from=mousepos_x+","+mousepos_y retangularright .from=mousepos_x+","+mousepos_y retangularbottom.from=mousepos_x+","+mousepos_y retangularleft.from=mousepos_x+","+mousepos_y } } if(document.all&&window.print){ document.body.className="disableHscroll" código ="<v:line id=rectangulartopleft style='ESQUERDA:0;POSIÇÃO:absoluta;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangulartopright style='LEFT:0;POSITION:absolute;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangularbottomleft style='LEFT:0;POSITION:absolute;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangularbottomright style='LEFT:0;POSITION:absolute;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangulartop style='LEFT:0;POSITION:absolute;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangularright style='LEFT:0;POSITION:absolute;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangularbottom style='LEFT:0;POSITION:absolute;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangularleft style='LEFT:0;POSITION:absolute;TOP:0;' acidente vascular cerebral='"+lineweightnormal+"pt'></v:line>" document.body.insertAdjacentHTML("afterBegin",code) document.onmousemove=momouse window.onload=initiateanimation } </SCRIPT> <center> <a onMouseOver ="msover('#33FF33')" onMouseOut="msout()" target="_blank" href="http://www.downcodes.com">悬停后改变颜色</a> <p>