+++ ȨÁ¦ÀÛ ¹ÙÀ̺í +++
ȨÁ¦ÀÛ
¹ÙÀ̺í |
ÀÌ »çÀÌÆ®´Â ÀÌ¿µÂù´ÔÀÇ
»çÀÌÆ®¸¦ º¹¿øÇÑ °ÍÀÔ´Ï´Ù. |
|
Untitled Document
|
À̹ÌÁö°¡
¹Ù²î´Â ¸Þ´º(3) |
|
|
|
ÀÌ ½ºÅ©¸³Æ®´Â À̹ÌÁö°¡ ¹Ù²î´Â ¸Þ´º(1)°ú À̹ÌÁö°¡ ¹Ù²î´Â ¸ÞÀ¯(2)ÀÇ ½ºÅ©¸³Æ®¸¦ ÇÕÃijõÀº ½ºÅ©¸³Æ®¶ó »ý°¢Çϸé
µÈ´Ù. Áï ¸¶¿ì½º¸¦ ±×¸²¿¡ ¿Ã·Á³õÀ¸¸é ±× ±×¸²µµ º¯ÇÏ°í ´Ù¸¥°÷ÀÇ ±×¸²µµ µ¿½Ã¿¡ º¯ÇÑ´Ù. ¹Ì¸®º¸±â¿¡¼ °á°ú¸¦
º¼ ¼ö ÀÖ´Ù. ¾Æ·¡ÀÇ ½ºÅ©¸³Æ®¸¦ »ìÆ캸¸é (1)°ú (2)¿¡¼¿Í °°Àº ÇüÅ·ΠÀÚ½ÅÀÇ È¨ÆäÀÌÁö¿¡ ¸Â°Ô ¼öÁ¤Çϸé
µÈ´Ù.
HTML Example |
<HTML> <HEAD><title>demo05.html</title>
<SCRIPT language=JavaScript>
if (document.images) { //
´Ù¸¥°÷¿¡¼ º¯ÇÒ ±×¸²1À» ÁöÁ¤ÇÑ´Ù.
image1menu = new Image();
image1menu.src = "ex_home.gif"; //
¸¶¿ì½º¸¦ ¿Ã·Á³õ¾ÒÀ» ¶§ÀÇ ±×¸²1ÁöÁ¤
image1over = new Image();
image1over.src = "top_home_.gif"; //
¸¶¿ì½º¸¦ Ä¡¿üÀ» ¶§ÀÇ ±×¸²1ÁöÁ¤
image1out = new Image();
image1out.src = "top_home.gif" //
´Ù¸¥°÷¿¡¼ º¯ÇÒ ±×¸²2À» ÁöÁ¤ÇÑ´Ù.
image2menu = new Image();
image2menu.src = "ex_intr.gif"; //
¸¶¿ì½º¸¦ ¿Ã·Á³õ¾ÒÀ» ¶§ÀÇ ±×¸²2ÁöÁ¤
image2over = new Image();
image2over.src = "top_intr_.gif"; //
¸¶¿ì½º¸¦ Ä¡¿üÀ» ¶§ÀÇ ±×¸²2ÁöÁ¤
image2out = new Image();
image2out.src = "top_intr.gif"
}
function imageMenu(imgName) {
if (document.images) {
document["blank"].src = eval(imgName + "menu.src");
}
}
function imageMenuOff() {
if (document.images) { //
º°Çұ׸²ÀÇ °ø°¢ÁöÁ¤ÇÏ´Â ¿©¹é±×¸²ÁöÁ¤
document["blank"].src = "top.gif";
}
}
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
if (browserName
== "Netscape" && browserVer >= 3){ init
= "net"; }
else{
init
= "ie"; }
if ((init == "net")||((init == "ie")&&(browserVer
>= 4))){
function imageOver(imgName) {
if (((init ==
"net")&&(browserVer >=3))||((init == "ie")&&(browserVer
>= 4))){ imgOver
= eval(imgName + "over.src"); document[imgName].src
= imgOver; }
}
function imageOut(imgName) {
if (((init ==
"net")&&(browserVer >=3))||((init == "ie")&&(browserVer
>= 4))){ imgOut
= eval(imgName + "out.src"); document[imgName].src
= imgOut; }
}
} </SCRIPT> </HEAD>
<BODY bgcolor=black> <center>
<!-- ±×¸²1ÀÇ ¸µÅ©ÁöÁ¤ -->
<a HREF="script05.html" onMouseover="imageMenu('image1');imageOver('image1')"
onMouseout="imageMenuOff();imageOut('image1')">
<img src="top_home.gif" border=0 name="image1"></a>
<!-- ±×¸²2ÀÇ ¸µÅ©ÁöÁ¤-->
<a HREF="script05.html" onMouseover="imageMenu('image2');imageOver('image2')"
onMouseout="imageMenuOff();imageOut('image2')">
<img src="top_intr.gif" border=0 name="image2"></a>
<!-- º¯ÇÒ °ø°£ÀÇ ¿©¹é±×¸²À»
ÁöÁ¤ÇÑ´Ù. --> <img src="top.gif" border=0
name="blank"> </BODY> </HTML>
|
|
|
|
|
Update : 2000/12/19 |
[µ¹¾Æ°¡±â] |
|