<HEAD> <SCRIPT> polyCord=''; findBool=false; function mouseCheck(){ str='type='+event.type+'<BR>'; str+='button='+event.button+'<BR>'; str+='screenX,screenY=('+event.screenX+','+event.screenY+')<BR>'; str+='x,y=('+event.x+','+event.y+')<BR>'; str+='offsetX,offsetY=('+event.offsetX+','+event.offsetY+')'; point.innerHTML=str; if (findBool) { polyCord+=(event.offsetX)+','+(event.offsetY)+','; showA.innerHTML=polyCord; } } function moveCheck(){ str='type='+event.type+'<BR>'; str+='button='+event.button+'<BR>'; str+='screenX,screenY=('+event.screenX+','+event.screenY+')<BR>'; str+='x,y=('+event.x+','+event.y+')<BR>'; str+='offsetX,offsetY=('+event.offsetX+','+event.offsetY+')'; move.innerHTML=str; } function findCord(){ if (findBool){ fintBool=false; butObj.innerText='ÁÂÇ¥ ã±â ½ÃÀÛ'; showA.innerHTML=''; } else { findBool=true; butObj.innerText='ÁÂÇ¥ ã±â Á¾·á'; } } </SCRIPT> </HEAD> <BODY> <P><IMG id=imgObj src="../../../gif/farEast.jpg" width=182 height=170 border=0 alt="±Øµ¿" usemap="#farEast"> <MAP name="farEast"> <AREA shape="poly" coords="55,60,80,40,93,40,94,34,115,20,121,28,111,39,108,51,91,65,93,72,108,94,106,119,75,129,79,92,58,80,68,68" href="javascript:alert('Çѱ¹');"> <AREA shape="circle" coords="77,141,6" href="javascript:alert('Çѱ¹');"> <AREA shape="poly" coords="0,0,123,0,120,20,94,37,58,58,32,70,41,47,31,45,11,63,0,65" href="javascript:alert('Áß±¹');"> <AREA shape="poly" coords="0,84,34,84,42,93,8,113,8,123,28,159,25,169,0,169" href="javascript:alert('Áß±¹');"> <AREA shape="poly" coords="109,140,181,94,180,133,127,168,118,162" href="javascript:alert('ÀϺ»');"> <AREA shape="poly" coords="124,0,119,21,148,14,158,0" href="javascript:alert('·¯½Ã¾Æ');"> </MAP> <SCRIPT> imgObj.onmousedown=mouseCheck; imgObj.onmousemove=moveCheck; </SCRIPT> <DIV id=point class=show style=width:350;height:3.1em;text-align:center></DIV> <DIV id=move class=show style=width:350;height:4.6em;text-align:center></DIV> <BUTTON id=butObj onclick="findCord()">ÁÂÇ¥ ã±â ½ÃÀÛ</BUTTON> <DIV>poly ÁÂÇ¥ : <SPAN id=showA></SPAN></DIV> </BODY>