한국어
<!--把下列代码放到<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 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" 스타일 ="position:relative">') } 함수 개시 애니메이션(){ marginbottom=document.body.clientHeight marginright=document.body.clientWidth margincenterx=Math.floor(marginright/2) margincentery=Math.floor(marginbottom/2) 직사각형topleft .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 Rectangulartopleft.스트로크색상=기본색상 직사각형topright.Strokecolor=기본색상 직사각형하단왼쪽.스트로크색상=기본색상 직사각형하단오른쪽.스트로크색상=기본색상 직사각형상단 .스트로크색상=기본색상 직사각형오른쪽.스트로크색상=기본색상 직사각형하단.스트로크색상=기본색상 직사각형왼쪽.스트로크색상=기본색상} 함수 msover(thiscolorhighlight){ if(document.all&&window.print){ 직사각형topleft.스트로크색=thiscolorhighlight 직사각형topright.스트로크색상=thiscolor색상 강조 직사각형bottomleft.스트로크색상=thiscolorhighlight 직사각형하단오른쪽.스트로크색상=이색상선형 직사각형상단.스트로크색상=이색상선형 직사각형오른쪽.스트로크색상=이색상하향 직사각형하단.스트로크색상=이색상하향 직사각형왼쪽.스트로크색상=이색상선형 직사각형상단왼쪽.스트로크색상=선가중선형 직사각형하단오른쪽.스트로크중량=선가중선형 직사각형하단왼쪽.스트로크가중=선가중선형 직사각형하단오른쪽.스트로크가중=선가중선형 직사각형하단하향 Rectangularright.StrokeWeight=lineweightHighlight Rectangularbottom.StrokeWeight=LineWeightHighlight RectangularLeft.StrokeWeight=LineWeightHighlight } } 함수 msout(){ if(document.all&&window.print){ Rectangulartopleft.Strokecolor=defaultcolor Rectangulartopright.Strokecolor=기본색상 직사각형하단왼쪽.스트로크색상=기본색상 직사각형하단오른쪽.스트로크색상= defaultcolor Rectangulartop.Strokecolor=기본색상 직사각형right.Strokecolor=기본색상 직사각형하단.스트로크색상=기본색상 직사각형왼쪽.스트로크색상=기본색상 직사각형topleft.스트로크가중=선가중일반 직사각형topright.스트로크가중=선가중일반 직사각형하단왼쪽.스트로크가중=선가중일반 직사각형하단오른쪽.스트로크가중=선가중일반 직사각형top.스트로크가중=선가중일반 직사각형right.스트로크가중= lineweightnormal Rectangularbottom.StrokeWeight=lineWeightnormal RectangularLeft.StrokeWeight=lineWeightnormal } } 함수 Momouse(){ if(document.all&&window.print){ mousepos_x=document.body.scrollLeft+event.clientX mousepos_y=document.body.scrollTop+event.clientY 직사각형topleft .from=mousepos_x+","+mousepos_y 직사각형topright.from=mousepos_x+","+mousepos_y 직사각형bottomleft.from=mousepos_x+","+mousepos_y 직사각형bottomright.from=mousepos_x+","+mousepos_y 직사각형top.from=mousepos_x+","+mousepos_y 직사각형right .from=mousepos_x+","+mousepos_y 직사각형bottom.from=mousepos_x+","+mousepos_y 직사각형left.from=mousepos_x+","+mousepos_y } } if(document.all&&window.print){ document.body.className="disableHscroll" code ="<v:line id=직사각형topleft 스타일='LEFT:0;POSITION:절대;TOP:0;' 뇌졸중 무게='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=ectangulartopright style='LEFT:0;POSITION:absolute;TOP:0;' 뇌졸중 무게='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=Rectangularbottomleft style='LEFT:0;POSITION:absolute;TOP:0;' 뇌졸중 무게='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=Rectangularbottomright style='LEFT:0;POSITION:absolute;TOP:0;' 뇌졸중 무게='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=ectangulartop style='LEFT:0;POSITION:absolute;TOP:0;' 뇌졸중 무게='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=직사각형right style='LEFT:0;POSITION:absolute;TOP:0;' 뇌졸중 무게='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=Rectangularbottom style='LEFT:0;POSITION:absolute;TOP:0;' 뇌졸중 무게='"+lineweightnormal+"pt'></v:line>" code+="<v:line id=Rectangularleft style='LEFT:0;POSITION:absolute;TOP:0;' 뇌졸중 무게='"+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">悬停后改变颜color</a> <p>