中文(繁体)
<!-- 將以下程式碼放到<body>區域--> <body> <STYLE> .disableHscroll{ width:100%;overflow-x:hidden;overflow-y:scroll; } v:* { 行為: url(#default#VML) } </STYLE> <SCRIPT> var defaultcolor="#999999" var lineweighthighlight=1 var lineweightnormal=1 var distancetomouse=0 var mousepos_x=0 var mouse_x=0 mouse +pos_x=pos 0use 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=0 var mousepos_x=0 if (document.all&&window.print){rite docm.divf" ="position:relative">') } functionitiateanimation(){ marginbottom=document.body.clientHeight marginright=document.body.clientWidth margincenterx=Math.floor(marginright/2) margincentery=Math.floor(marbotleft/22)矩形.to=marginleft+","+margintop 矩形topright.to=marginright+","+margintop 矩形bottomleft.to=marginleft+","+marginbottom 矩形bottomright.to=marginright+","+marginbottom 矩形top.to=margincenterx+", "+margintop 矩形right .to=marginright+","+margincentery 矩形bottom.to=margincenterx+","+marginbottom 矩形left.to=marginleft+","+margincentery 矩形topleft.行程顏色=預設顏色矩形上右.行程顏色=預設顏色矩形下左.行程顏色=預設顏色矩形下右.行程顏色=預設顏色矩形頂部.筆畫顏色=預設顏色矩形右.筆畫顏色=預設顏色矩形底部.筆畫顏色=預設顏色矩形左.筆畫顏色=預設顏色}函數msover(thiscolorhighlight){if(document.all&&window.print){矩形頂部左.筆畫顏色=這個顏色高亮矩形頂部右.筆畫顏色=這個顏色高亮矩形底部左.筆劃顏色=這個顏色高亮矩形底部右.描邊顏色=這個顏色突出顯示矩形頂部.描邊顏色=這個顏色突出顯示矩形右.描邊顏色=這個顏色突出顯示矩形底部.描邊顏色=這個顏色突出顯示矩形左.描邊顏色=這個顏色突出顯示矩形上左.描邊=線寬高亮矩形上右.描邊=線寬高亮矩形下左.描邊=線寬高亮矩形下右.描邊=線寬高亮矩形頂部.描邊=線寬高亮矩形右.筆劃重量=線重高亮矩形底.筆劃重量=線重高亮矩形左.筆畫重量=線重高亮} } 函數msout(){ if (document.all&&window.print){ 矩形頂部左.筆畫顏色=預設顏色矩形頂部右.筆畫顏色=預設顏色矩形底部左.筆畫顏色=預設顏色矩形底部右.筆畫顏色=預設顏色矩形頂部.描邊顏色=預設顏色矩形右.描邊顏色=預設顏色矩形底部.描邊顏色=預設顏色矩形左.描邊顏色=預設顏色矩形上左.描邊=線寬正常矩形上右.描邊=線寬正常矩形下左.描邊=線寬正常矩形下右.描邊=線寬正常矩形上.描邊=線寬正常矩形右.描邊=線寬正常矩形底部.描邊=線寬正常矩形左.描邊=線寬正常}}函式momouse(){if(document.all&&window.print){mousepos_x=document.body.scrollLeft+event.clientX mousepos_y=document.body.scrollTop+event.clientYromptopleft .f+from=mousepos_x+ ","+mousepos_y 矩形topright.from=mousepos_x+","+mousepos_y 矩形bottomleft.from=mousepos_x+","+mousepos_y 矩形bottomright.from=mousepos_x+","+mousepos_y 矩形_postop.from=mousepos_x+","+mousepos_y 矩形_posxtop. right .from=mousepos_x+","+mousepos_y 矩形bottom.from=mousepos_x+","+mousepos_y 矩形left.from=mousepos_x+","+mousepos_y } } if(document.all&&window.print){ class="ent.body.body. disableHscroll" 代碼="<v:line id=rectangletopleft style='LEFT:0;POSITION:absolute;TOP:0;'描邊='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangletopright style='LEFT:0;POSITION:absolute;TOP:0;'描邊='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectanglebottomleft style='LEFT:0;POSITION:absolute;TOP:0;'描邊='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectanglebottomright style='LEFT:0;POSITION:absolute;TOP:0;'描邊='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangletop style='LEFT:0;POSITION:absolute;TOP:0;'描邊='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangleright style='LEFT:0;POSITION:absolute;TOP:0;'描邊='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectanglebottom style='LEFT:0;POSITION:absolute;TOP:0;'描邊='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=rectangleleft style='LEFT:0;POSITION:absolute;TOP:0;' strokeweight='"+lineweightnormal+"pt'></v:line>" document.body.insertAdjacentHTML("afterBegin",code) document.onmousemove=momouse window.onload=initiateanimation } </SCRIPT> <center> <a onMoonMover ="msover('#33FF33')" onMouseOut="msout()" target="_blank" href="http://www.downcodes.com">暫停後改變顏色</a> <p>