Trio ȨÆäÀÌÁö onmouseover·Î À̹ÌÁö Ç¥½Ã ¿¹Á¦ Javascript ¿¹Á¦ ¸ÞÀÎÆäÀÌÁö


¾Æ·¡ À̹ÌÁö¿¡ mouse¸¦ ¿Ã¸®°Å³ª ³»¸®¸é,À§ÀÇ À̹ÌÁöµµ º¯ÇÑ´Ù.


ÀÚü ¼­·ù·Î ¿¬°á(link) ½Ã°å½¿.

<head>
..
<img src="../gif/rfcoding.gif" border=0 alt="HTML Code"><br>
<script language="Javascript">
<!-- // °¨Ãã ½ÃÀÛ
layoutOff=new Image(100,17);	// Layout ´ÜÃß onmouseout image
layoutOff.src="gif/ulayout.gif";
layoutOn=new Image(100,17);	// Layout ´ÜÃß onmouseover image
layoutOn.src="gif/ulayout1.gif";
locateOff=new Image(100,17);	// Location ´ÜÃß onmouseout image
locateOff.src="gif/ulocate.gif";
locateOn=new Image(100,17);	// Location ´ÜÃß onmouseover image
locateOn.src="gif/ulocate1.gif";

scrnBlank=new Image(100,34);	// ºó screen
scrnBlank.src="gif/ublank.gif";
scrnlayout=new Image(100,34);// Layout  screenimage
scrnlayout.src="gif/ulayout.gif";
scrnlocate=new Image(100,34);// Location screenimage
scrnlocate.src="gif/ulocate.gif";

function showImg(imgDocID,imgObjName) {	// Ç¥Çö
  document.images[imgDocID].src=eval(imgObjName+".src")
}
// °¨Ãã ³¡  -->
</script>
</head>


<body> .. ¾Æ·¡ À̹ÌÁö¿¡ mouse¸¦ ¿Ã¸®°Å³ª ³»¸®¸é,À§ÀÇ À̹ÌÁöµµ º¯ÇÑ´Ù.

<div class=indent> <table><tr align=center><td colspan=2 height=40> <img name="screen" src="gif/ublank.gif" width=100 height=34 border=0 alt="°øÅë ¼³¸í À̹ÌÁö"><br><br> </td></tr> <tr><td> <a href="xmusovr.html" onmouseover="showImg('img01','layoutOn');showImg('screen','scrnlayout')" onmouseout="showImg('img01','layoutOff');showImg('screen','scrnBlank')"> <img name="img01" src="gif/ulayout.gif" border=0 alt="Layout"></a> </td> <td> <a href="xmusovr.html" onmouseover="showImg('img02','locateOn');showImg('screen','scrnlocate')" onmouseout="showImg('img02','locateOff');showImg('screen','scrnBlank')"> <img name="img02" src="gif/ulocate.gif" border=0 alt="Location"></a> </td></tr></table> </div><br> ÀÚü ¼­·ù·Î ¿¬°á(link) ½Ã°å½¿.<br><br> </div> .. </body>

¹ø¿ª¹® ¼ÒÀ¯ÀÚ - Trio ȨÆäÀÌÁö Á¦°ø ÀÌ ¹®¼­(http://trio.co.kr/webrefer/jsex/xmusovr.html)´Â
ÀÚÀ¯·ÎÀÌ ¿¬°á »ç¿ëÀÌ °¡´ÉÇÔ.
¿¹Á¦ ¸Þ´º·Î