<html> <head> <title>Event Test</title> <script language='JavaScript'> var c=0; var t; var timer_is_on=0 function checkContent() { alert("Content is changed."); } function displaymessage() { alert("Hello World!"); } function writeText(txt) { document.getElementById("contents").innerHTML=txt; } function timedCount() { document.getElementById('txt').value=c; c++; if(c < 60){ t=setTimeout("timedCount()",1000);//1다.. } } </script> </head> <body onload="alert('Welcome!!');" onunload="alert('Bye~');" onfocus="document.bgColor='white'" onblur="document.bgColor='yellow'"> <h2> 다.</h2> <form> <b>내 :</b> <input type="text" size="30" id="email" onchange="checkContent()" alt="내 변 감"><br> <input type="button" value="메 력" onclick="displaymessage()"><br> <img src="http://static.naver.com/ncc/2010/07/30/163114192381349.jpg" onmousedown="alert('리 ');" onmouseup="alert(' 르기 ');" alt=" 르고 때는 "> <img src="http://static.naver.com/ncc/2010/07/30/1631301773960435.jpg" width="300" height="300" usemap="#planet" onmouseout="alert(' ');" alt=" 감"> <map name="planet"> <area shape="circle" coords="150,150,20" onmouseover="writeText('둥리 부 닿다.');" href="http://sstatic.naver.com/ncr/Recipe/1/20100413204704092_X0KZLRZZ1.jpg"> <p id="contents"></p> <input type="text" id="txt"><input type="button" value="" onClick="timedCount()"> </form> </body> </html>
물 기 ¶
image map 물 려고 배경 기 기 러 볼 때 당 같다 'ㅁ'
래는 물 박 릭는 로 려는데
래는 물 박 릭는 로 려는데
....... 라리 css로 더 부로 류 다 는게 나듯??
<html> <head> <script type="text/javascript"> function writeText(txt) { document.getElementById("desc").innerHTML=txt; } </script> </head> <body> <img src ="http://www.court-records.net/places/DS/berryoffice.png" width ="480" height ="300" usemap="#evidence" /> <map name="evidence"> <area shape ="rect" coords ="151,175,321,224" onClick="writeText('다. 무것 다.')" /> <!-- rect는 x1,y1(),x2,y2(른래) 를 각--> <area shape ="rect" coords ="54,78,130,208" onClick="writeText('로가 보다.')" /> <area shape ="poly" coords ="92,239,139,232,164,257,109,268" onClick="writeText('류가 보다.')"/> <!-- poly는 x1,y1,x2,y2,x3,y3.... 로 방로 가능 다각--> <area shape ="rect" coords ="240,75,320,170" onClick="writeText(' 다.')" /> <area shape ="poly" coords ="345,112,357,112,375,126,375,174,360,211,336,211,330,175,321,175,322,125,341,122" onClick="writeText(' 단 로 보다.')" /> </map> <p id="desc"></p> </body> </html>
- ! 를 만들~ 다른 들 만들 리면 로 뭐 나 구경 고 기록 남고 것 같다ㅎㅎ - 김경