½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
happycgi
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > JAVASCRIPT > javascript ¼Ò½ºÃ¢°í > À̹ÌÁö°ü·Ã > ÀÛÀºÀ̹ÌÁö¿Í Å«À̹ÌÁö Çѹ®¼­¿¡ Ãâ·Â »ó¼¼Á¤º¸
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
css
html
mysql
jquery
image
API
Mobile
¸Þ´º
slide
°Ô½ÃÆÇ
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
ÀÛÀºÀ̹ÌÁö¿Í Å«À̹ÌÁö Çѹ®¼­¿¡ Ãâ·Â
¼Ò½ºÅë°èÁ¤º¸ ¿À·ù½Å°í ¹× ¹®ÀÇ
ÇØÇÇÆÀ
³×ƼÁð
Æ®À§ÅÍ·Î º¸³»±â ÆäÀ̽ººÏÀ¸·Î º¸³»±â
¼Ò½ººÐ·ù À̹ÌÁö°ü·Ã
´Ù¿î·Îµå Ƚ¼ö 1460 ȸ
°£´Ü¼³¸í ÀÛÀºÀ̹ÌÁö¸¦ Ŭ¸¯Çϸé ÇØ´ç ƯÁ¤¿µ¿ª¿¡¼­ Å«À̹ÌÁö¸¦ Ãâ·ÂÇÏ´Â ³»¿ëÀÔ´Ï´Ù.
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
¼Ò½º´Ù¿î·Îµå µ¥¸ð ¹Ì¸®º¸±â ½ºÅ©·¦Çϱâ
<SCRIPT language=JavaScript> <!-- function transimg(change) { if (change==1) changeimg.src="http://demo.happycgi.com/doobab/thumb_big_img/img/img001.jpg"; if (change==2) changeimg.src="http://demo.happycgi.com/doobab/thumb_big_img/img/img002.jpg"; if (change==3) changeimg.src="http://demo.happycgi.com/doobab/thumb_big_img/img/img003.jpg"; if (change==4) changeimg.src="http://demo.happycgi.com/doobab/thumb_big_img/img/img004.jpg"; if (change==5) changeimg.src="http://demo.happycgi.com/doobab/thumb_big_img/img/img005.jpg"; } // --> </SCRIPT>


ÀÛÀº À̹ÌÁö¿Í Å« À̹ÌÁö¸¦ ÇÑ ¹®¼­¾È¿¡¼­ Ç¥½ÃÇϱâ




ÀÛÀº À̹ÌÁö(½æ³×ÀÏÀ̹ÌÁö)¸¦ Ŭ¸¯ÇÏ¸é ¾î´À ƯÁ¤¿µ¿ª¿¡¼­ Å«±×¸²À¸·Î º¸¿©Áö°Ô²ûÇÏ´Â ÇÕ´Ï´Ù.
º¸Åë ÀÛÀºÀ̹ÌÁö¸¦ Ŭ¸¯ÇÏ¸é »õâÀ¸·ÎÇؼ­ Å«À̹ÌÁö¸¦ º¸¿©ÁÖ´Â ÇüÅ¿©¼­ ¸Å¹ø º¸°í³ª¸é ´Ý±â¹öÆ°À»
Ŭ¸¯ÇØÁà¾ßÇÏ´Â ¹ø°Å·Î¿òÀ» ´ú ¼ö ÀÖ´Â ÀÚ¹Ù½ºÅ©¸³Æ® ÀÔ´Ï´Ù.


¾Æ·¡ ÀÛÀº À̹ÌÁö¸¦ Ŭ¸¯ÇÏ¿©º¸¸é ¾Æ·¡ÂÊ¿µ¿ª¿¡¼­ ÇØ´çÇÏ´Â Å«À̹ÌÁö¸¦ º¸½Ç ¼ö ÀÖ½À´Ï´Ù.

¡¡¡¡¡¡¡¡ ¡¡¡¡¡¡¡¡



¿ì¼± ÀÚ¹Ù½ºÅ©¸³Æ® ¼Ò½º¸¦ <head>~</head>»çÀÌ¿¡ ³Ö½À´Ï´Ù.

<script language="JavaScript">
<!--
function transimg(change) {
if (change==1) changeimg.src="img/img001.jpg";
if (change==2) changeimg.src="img/img002.jpg";
if (change==3) changeimg.src="img/img003.jpg";
if (change==4) changeimg.src="img/img004.jpg";
if (change==5) changeimg.src="img/img005.jpg";
}
// -->
</script>

img/img001.jpg ~ img/img005.jpg À̹ÌÁö´Â ÀÛÀºÀ̹ÌÁö¸¦ Ŭ¸¯ÇÏ¿´À» ¶§ Ç¥½ÃµÇ´Â Å«À̹ÌÁöÀÇ ÆÄÀÏÀÔ´Ï´Ù.
Å«À̹ÌÁöÀÇ °æ·Î ¹× ÆÄÀϸíÀ» ÀûÀ¸½Ã¸é µÇ°Ú½À´Ï´Ù.
ÇØ´ç À̹ÌÁöÀÇ °æ·ÎÁÖ¼Ò´Â »ó´ë°æ·Î ¶Ç´Â Àý´ë°æ·Î ÁÖ¼Ò·Î ÀûÀ¸½Ã¸é µÇ°Ú½À´Ï´Ù.
changeimg ´Â Å« À̹ÌÁö°¡ Ç¥½ÃµÇ´Â À̹ÌÁö¿µ¿ªÀÇ name °ªÀÔ´Ï´Ù.


´ÙÀ½ À̹ÌÁöÆÄÀÏÀ» <body>~</body>»çÀÌ¿¡ ³Ö½À´Ï´Ù.

<img src="img/img001.jpg" name="changeimg">

Å« À̹ÌÁö°¡ Ç¥½ÃµÇ´Â ¿µ¿ªÀÇ À̹ÌÁö ÆÄÀÏÀÔ´Ï´Ù.
img/img001.jpg ÆÄÀÏÀº ÆäÀÌÁö ¿ÀÇ½à ¸ÕÀú Ç¥½ÃµÇ´Â Å«À̹ÌÁö ÆÄÀϸíÀÔ´Ï´Ù.
name="changeimg" ´Â Å«À̹ÌÁö°¡ Ç¥½ÃµÇ´Â ¿µ¿ªºÎºÐ¿¡ À̹ÌÁöÆÄÀÏ ¼Ó¼ºÁß name °ª ÀÔ´Ï´Ù.


´ÙÀ½ À̹ÌÁöÆÄÀÏÀ» <body>~</body>»çÀÌ¿¡ ³Ö½À´Ï´Ù.

<span style="cursor:hand" onClick="transimg(1)"><img src="img/thumb_img001.jpg" width="60" height="80" border="0"></span>
<span style="cursor:hand" onClick="transimg(2)"><img src="img/thumb_img002.jpg" width="60" height="80" border="0"></span>¡¡¡¡
<span style="cursor:hand" onClick="transimg(3)"><img src="img/thumb_img003.jpg" width="60" height="80" border="0"></span>
<span style="cursor:hand" onClick="transimg(4)"><img src="img/thumb_img004.jpg" width="60" height="80" border="0"></span>
<span style="cursor:hand" onClick="transimg(5)"><img src="img/thumb_img005.jpg" width="60" height="80" border="0"></span>

À§ À̹ÌÁöµéÀº ÀÛÀº À̹ÌÁö¿¡ ÇØ´çÇÏ´Â ÆÄÀϵéÀÔ´Ï´Ù. ¿øÇÏ´Â À§Ä¡¿¡ ³Ö½À´Ï´Ù.
transimg(¼ýÀÚ)´Â <head>~</head>»çÀÌ¿¡ µé¾î°£ ÀÚ¹Ù½ºÅ©¸³Æ® ³»¿ëÁß¿¡ (change==¼ýÀÚ) ºÎºÐ°ú ¸ÂÃß¾î ÁÖ½Ã¸é µË´Ï´Ù.


³×ƼÁð ÀÇ°ß   ÀÌ¿ëÇϽŠÀÚ·áÀÇ Èı⸦ ÀÚÀ¯·Ó°Ô ÀÛ¼ºÇϼ¼¿ä. (»ó¾÷ÀûÀÎ ±¤°í ¹× µµ¹è¼º ±Û µîÀº »çÀüÅ뺸¾øÀÌ »èÁ¦µÉ ¼ö ÀÖ½À´Ï´Ù.)
³»¿ë ¾ÆÀ̵ð ÀÇ°ß³²±â±â
ÁÁÀº ÀÚ·á °¨»çÇÕ´Ï´Ù^^*
2006-05-22 13:36:06
pcs0907
Âù¼º 52
¹Ý´ë 51
1
À̸§
³»¿ë
:³×¸Â¾Æ¿ä: :È­³ª´Â±º¿ä: :Àá¿Í: :¿ì¿ïÇØ: :À̰ǾƳÄ: :¿ÕÇÏÇÏ: ¿Õ¿ôÀ½~ ³î·¥~
Æò°¡Çϱâ ÈǸ¢ÇÔ ¸Å¿ìÁÁÀ½ ÁÁÀ½ ±¦ÂúÀ½ º¸Åë º°·Î
µµ¹è¹æÁöÅ°
 27855870 º¸ÀÌ´Â µµ¹è¹æÁöÅ°¸¦ ÀÔ·ÂÇϼ¼¿ä.