ȸ¿ø°¡ÀԡžÆÀ̵ð/ºñ¹øã±â
ȨÀ¸·Î


ȨÆäÀÌÁö TOP ¹öÆ° ¸¸µé±â + ÀÀ¿ë
ȨÆäÀÌÁöȨÆäÀÌÁö 18³â Àü
¦®¦¬¦¬¦¬¦¬¦³¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬
¦­£°£°£°£±¦­È¨ÆäÀÌÁö¡¡£Ô£Ï£Ð¡¡¹öÆ°¡¡£«¡¡ÀÀ¿ë
¦±¦¬¦¬¦¬¦¬¦µ¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬

¦®¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬
¦± ¼­¹®:

TOP ¹öÆ°À» ±¸ÇöÇÏ´Â ¹æ¹ýÀº »ó´çÈ÷ ¿©·¯ °¡Áö°¡ ÀÖ½À´Ï´Ù¸¸, ±× Áß¿¡¼­ °¡Àå ¸¹ÀÌ ¾²ÀÌ´Â ¹æ¹ýÀº <a href="#">TOP</a> À̶ó »ý°¢ÇÕ´Ï´Ù. ¿©·¯ °¡Áö ÀÌÀ¯°¡ ÀÖ°ÚÁö¸¸, ¿ª½Ã °£´ÜÇÏ´Â °Í ¶§¹®ÀÌ°ÚÁÒ.

ÀϹÝÀûÀÎ TOP¹öÆ°À̶ó¸é <a> ű׸¦ ÀÌ¿ëÇÏ´Â °ÍÀÌ È¿À²ÀûÀÌ°ÚÁö¸¸, JavaScript¸¦ ÀÌ¿ëÇؼ­ TOP ¹öÆ° ±¸ÇöÇÏ°Ô µÇ¸é, ¿©·¯ °¡Áö È¿°ú¸¦ ÁÙ ¼ö Àֱ⠶§¹®¿¡, Á¶±Ý ´õ ¸ÚÁø »çÀÌÆ®¸¦ ¸¸µé ¼ö ÀÖ°Ô µË´Ï´Ù.

¾Æ·¡ ¼Ò½º´Â scroll ÇÔ¼ö¸¦ ÀÌ¿ëÇؼ­ ±¸ÇöÇÑ TOP ¹öÆ°, ±×¸®°í ±× ÀÀ¿ëÀÛµéÀÔ´Ï´Ù.

¦®¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬
¦± ¼Ò½º:

<script type="text/javascript">
<!--
        function to_top() // TOP ¹öÆ°À» À§ÇÑ ÇÔ¼ö
        {
                scroll (0, 0);   // ½ºÅ©·ÑÀ» 0, 0À¸·Î ÁöÁ¤ÇÕ´Ï´Ù.
        }

        function to_bottom()     // ÀÀ¿ë: ÆäÀÌÁö °¡Àå ¾Æ·¡·Î °¡´Â ¹öÆ°À» À§ÇÑ ÇÔ¼ö
        {
               var maxy = document.body.scrollHeight;  // ÆäÀÌÁöÀÇ ÃÑ »óÇϽºÅ©·Ñ ±æÀ̸¦ ±¸ÇÕ´Ï´Ù
               scroll (0, maxy);    // ½ºÅ©·ÑÀ» 0, maxy·Î ÁöÁ¤ÇÕ´Ï´Ù.
        }

        function to_top_constant()    // ÀÀ¿ë: ÀÏÁ¤ÇÑ ¼Óµµ + TOP
        {
               var x = document.body.scrollLeft;   // ÆäÀÌÁöÀÇ Á¿콺ũ·Ñ À§Ä¡¸¦ ±¸ÇÕ´Ï´Ù.
               var y = document.body.scrollTop;    // ÆäÀÌÁöÀÇ »óÇϽºÅ©·Ñ À§Ä¡¸¦ ±¸ÇÕ´Ï´Ù.
               var speed = 1;      // ½ºÅ©·Ñ ¼Óµµ¸¦ ÁöÁ¤ÇÕ´Ï´Ù. (Ŭ¼ö·Ï ºü¸§)
  
               while ((x != 0) || (y != 0)) {     // ½ºÅ©·Ñ À§Ä¡°¡ 0ÀÌ µÉ ¶§±îÁö ¹Ýº¹ÇÕ´Ï´Ù
                       scroll (x, y);    // ÁöÁ¤µÈ x, y ½ºÅ©·Ñ·Î À̵¿ÇÕ´Ï´Ù.
                       x -= speed;    // Á¿콺ũ·Ñ À§Ä¡°¡ 0¿¡ °¡±õ°Ô µÇµµ·Ï ½ºÅ©·Ñ ¼Óµµ¸¸Å­ »©ÁÝ´Ï´Ù.
                       y -= speed;    // »óÇϽºÅ©·Ñ À§Ä¡°¡ 0¿¡ °¡±õ°Ô µÇµµ·Ï ½ºÅ©·Ñ ¼Óµµ¸¸Å­ »©ÁÝ´Ï´Ù
                       if (x < 0) x = 0;   // ¸¸¾à Á¿콺ũ·Ñ À§Ä¡°¡ 0º¸´Ù ÀÛ¾ÆÁö¸é, 0À¸·Î µ¹·ÁÁÝ´Ï´Ù.
                       if (y < 0) y = 0;   // ¸¸¾à »óÇϽºÅ©·Ñ À§Ä¡°¡ 0º¸´Ù ÀÛ¾ÆÁö¸é, 0À¸·Î µ¹·ÁÁÝ´Ï´Ù.
               }
               scroll (0, 0);    // ¸¶Áö¸·À¸·Î ½ºÅ©·ÑÀ» 0, 0À¸·Î À̵¿½Ãŵ´Ï´Ù.
        }
  
        function to_bottom_constant()      // ÀÀ¿ë: ÀÏÁ¤ÇÑ ¼Óµµ + BOTTOM
        {
               var x = document.body.scrollLeft;
               var y = document.body.scrollTop;
               var maxy = document.body.scrollHeight;
               var speed = 1;
  
               while ((x != 0) || (y != maxy)) {   // Á¿콺ũ·Ñ À§Ä¡°¡ 0ÀÌ µÉ ¶§±îÁö,
                       scroll (x, y);              // »óÇϽºÅ©·Ñ À§Ä¡°¡ maxy°¡ µÉ ¶§±îÁö ¹Ýº¹ÇÕ´Ï´Ù.
                       x -= speed;
                       y += speed;                 // »óÇϽºÅ©·Ñ À§Ä¡¸¦ ½ºÅ©·Ñ ¼Óµµ¸¸Å­ Áõ°¡½ÃÄÑ ÁÝ´Ï´Ù.
                       if (x < 0) x = 0;
                       if (y > maxy) y = maxy;     // »óÇϽºÅ©·Ñ À§Ä¡°¡ maxy¸¦ ³Ñ¾úÀ» °æ¿ì maxy·Î µ¹·ÁÁÝ´Ï´Ù.
               }
               scroll (0, maxy);                   // ¸¶Áö¸·À¸·Î ½ºÅ©·ÑÀ» 0, maxy·Î À̵¿½Ãŵ´Ï´Ù.
        }
  
        function to_top_smooth()                   // ÀÀ¿ë: °¡¼Óµµ TOP
        {
                var x = document.body.scrollLeft;
                var y = document.body.scrollTop;
                var speed = 1;
  
                while ((x != 0) || (y != 0)) {
                        scroll (x, y);
                        speed += (speed * speed / 100);    // ½ºÅ©·Ñ ¼Óµµ¸¦ Á¡Á¡ ºü¸£°Ô ÇÕ´Ï´Ù.
                        x -= speed;
                        y -= speed;
                        if (x < 0) x = 0;
                        if (y < 0) y = 0;
                }
                scroll (0, 0);
        }
  
        function to_top_bounce()          // ÀÀ¿ë: »ó´Ü¿¡ µµÂø ÈÄ °øó·³ Æ¢´Â È¿°ú
        {
               var x = document.body.scrollLeft;
               var y = document.body.scrollTop;
               var speed = 1;                       // ¾ó¸¶ Á¤µµ ƨ±â°Ô ÇÒ Áö Á¤ÇÕ´Ï´Ù.
               var bounce = 300;

               while ((x != 0) || (y != 0)) {
                       scroll (x, y);
                       if (speed < 5) speed += (speed * speed / 100);    // ½ºÅ©·Ñ ¼Óµµ°¡ ³Ê¹« »¡¶óÁöÁö ¾Êµµ·Ï.
                       x -= speed;
                       y -= speed;
                       if ((y < 0) && (bounce > 50)){        // »óÇϽºÅ©·ÑÀÌ 0¿¡ µµÂøÇϸé.
                              while ((y != bounce)) {        // »óÇϽºÅ©·ÑÀÌ bounce °ª±îÁö µÇµµ·Ï ¹Ýº¹ÇÕ´Ï´Ù.
                                      scroll (x, y);
                                      speed -= (speed * speed / 100);  // Áß·Â?¿¡ ÀÇÇؼ­ ¼Óµµ´Â °¨¼ÒÇϵµ·Ï ÇÕ´Ï´Ù.
                                      x -= speed;
                                      y += speed;
                                      if (x < 0) x = 0;
                                      if (y > bounce) y = bounce;   // y °ªÀÌ bounceº¸´Ù, Ä¿Áö¸é bounce·Î µ¹·ÁÁÝ´Ï´Ù.
                              }
                              scroll (0, bounce);     // ½ºÅ©·ÑÀ» 0, bounce·Î À̵¿ ½Ãŵ´Ï´Ù.
                              bounce /= 1.5;          // bounce ³ôÀ̸¦ ÁÙ¿©ÁÝ´Ï´Ù.
                       }
                       if (x < 0) x = 0;
                       if (y < 0) y = 0;
               }
               scroll (0, 0);
        }
//-->
</script>

<span onclick="to_top();">¡èTOP</span>    // TOP ¹öÆ° ¿¬°á ¿¹Á¦

<span onclick="to_bottom();">¡éBOTTOM</span>    // BOTTOM ¹öÆ° ¿¬°á ¿¹Á¦
¦®¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬
¦± Àû¿ë:

ÀÚ¹Ù½ºÅ©¸³Æ®´Â <a> ÅÂÅ©¸¦ ÀÌ¿ëÇؼ­ ¿¬°áÇØÁÙ ¼öµµ ÀÖÁö¸¸, À̺¥Æ®¸¦ ÀÌ¿ëÇؼ­ ºÎ¸£´Â °ÍÀÌ ´õ È¿À²ÀûÀÔ´Ï´Ù.
¿¹: <span onclick="to_top();">¡èTOP</span>

À§¿Í °°ÀÌ Å¬¸¯ÇßÀ» ¶§ ÇÔ¼ö¸¦ ºÎ¸£°Ô µÇ´Â °ÍÀÌÁÒ.
<span> ÅÂ±× ¿Ü¿¡µµ <font>, <div>, <p>, <img> µî °ÅÀÇ ¸ðµç ÅÂÅ©¿¡ Àû¿ëÀÌ °¡´ÉÇÕ´Ï´Ù.
¿¹: <img src="top.gif" onclick="to_top();"></img>

ÇÏÁö¸¸ <a> űװ¡ ¾Æ´Ï¸é ÇÏÀÌÆÛ¸µÅ©·Î 󸮵ÇÁö ¾Ê±â ¶§¹®¿¡ ¸¶¿ì½ºÆ÷ÀÎÅÍ°¡ ¼ÕÀ¸·Î º¯ÇÏÁö ¾Ê½À´Ï´Ù.
µû¶ó¼­ ½ºÅ¸ÀÏ ¼Ó¼ºÀ» Á¶±Ý °Çµé¿©ÁÖ½Ã¸é µË´Ï´Ù.
¿¹: <span onclick="to_top();" style="CURSOR: hand">¡èTOP</span>

À§¿Í °°ÀÌ ÇϽøé TOPÀ§¿¡ ¿Ã·ÈÀ» ¶§¿¡, ¸¶¿ì½ºÆ÷ÀÎÅÍ°¡ ¼ÕÀ¸·Î º¯ÇÏ°Ô µË´Ï´Ù.
¹°·Ð ´Ù¸¥ ÅÂÅ©¿¡µµ Àû¿ëÀÌ °¡´ÉÇÕ´Ï´Ù.
¿¹: <img src="top.gif" onclick="to_top();" style="cursor:pointer"></img>


¦®¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬¦¬
¦± ¾Ë¸²:

¼Ò½º¿¡´Â ÃÑ 6°³ÀÇ ÇÔ¼ö°¡ ÀÖÁö¸¸, ¾Æ¸¶ ½ÇÁ¦·Î ¾²½Ç °ÍÀº 1, 2°³ Á¤µµÀÏ °ÍÀÔ´Ï´Ù. ¾²Áö ¾Ê´Â ÇÔ¼öÀÇ °æ¿ì´Â »èÁ¦ÇÏ°í »ç¿ëÇϼ¼¿ä.
ÃßõÃßõ : 273 Ãßõ ¸ñ·Ï
¹øÈ£ Á¦¸ñ
292
°Å¹Ì ÇѸ¶¸®°¡ ¸¶¿ì½º¸¦ °è¼Ó µû¶ó ´Ù´Ï¸é¼­ °ø°Ý ÇÕ´Ï´Ù
291
ÄíÅ°¸¦ ÀÌ¿ëÇÑ Ä«¿îÅÍ
290
ÄíÅ°¸¦ ÀÌ¿ëÇÑ ÁÖ¼Ò·Ï°ü¸®
289
ÄíÅ°¸¦ ÀÌ¿ëÇÑ ·¹ÀÌ¾î °øÁöâ(¿À´ÃÇÏ·ç ¿­Áö¾ÊÀ½ ±â´ÉÀ» ·¹À̾î·Î)
288
¿©·¯°³ÀÇ Å×ÀÌºí³»¿ëÀ» ¹öưŬ¸¯À¸·Î È®Àå Ãà¼Ò ÇÕ´Ï´Ù(ÄíÅ°·Î±â¾ï)
287
»ç¿ëÀÚ PC¿¡ MS Agent °ü·Ã ÄÁÆ®·ÑÀÌ ¼³Ä¡µÇ¾ú´ÂÁö üũÇÕ´Ï´Ù.
286
µÎ¹ø° ¹æ¹®ºÎÅÍ´Â ¸¶Áö¸· Á¢¼ÓÀÏÀ» ¾Ë·Á ÁÝ´Ï´Ù
285
´«ÀÌ ³»¸®¸é¼­ Â÷°îÂ÷°î ½×ÀÔ´Ï´Ù
284
1ÁÖÀÏ¿¡ Çѹø¸¸ ºÏ¸¶Å©Ã¢À» ¶ç¿ó´Ï´Ù
283
Ç÷¡½¬ °¶·¯¸® ºñ½ÁÇÑ ÀÚ¹Ù½ºÅ©¸³ °¶·¯¸®
282
âũ±âÁ¶Àý
281
Å°º¸µå ¸¶¿ì½º¿À¸¥ÂÊ ±ÝÁö À̺¥Æ®
280
Å°º¸µå±Û¾¾°¡ ±×´ë·Î È­¸é¿¡ ³ªÅ¸³ª´Â ½ºÅ©¸³Æ®
279
¸¶¿ì½ºÄ¿¼­ ¿òÁ÷ÀÓÀ¸·Î À̹ÌÁö¸ñ·Ï ½ºÅ©·Ñ
278
Å×ÀÌºí¼±(ÁöÁ¤À§Ä¡)À» µû¶ó À̵¿ÇÏ´Â top
277
ÁÖ¼ÒÀÚµ¿À¸·Î À̵¿ ½ÃÅ°±â(Æ÷¿öµù)
276
ÀÚ¹Ù½ºÅ©¸³Æ® ´ÜÃàÅ° ÁöÁ¤À» ½±°ÔÇÏÀÚ
275
ȨÇÇ ¸¸µé¶§ ÀÚÁÖ »ç¿ëµÇ´Â ¸ÞŸÅÂ±× ¸ðÀ½
274
»óÀ§ ¼¿·ºÆ®¹Ú½º °ª º¯°æ½Ã ÇÏÀ§¼¿·ºÆ®¹Ú½º(´Ù¼ö)Á¦¾îÇϱâ.
273
¹Ìµð¾î Ç÷¹À̾ ¿©·¯°¡Áö ÇÊÅÍ È¿°ú ÁÖ±â
272
ƯÁ¤ÀÏ·Î ºÎÅÍ ¸îÀÏ° ÀÎÁö ³¯Â¥¼¼ÁÖ´Â PHP ¼Ò½º
271
³¯Â¥ ±¸ÇÏ´Â ÇÔ¼ö.. ...
ȨÆäÀÌÁö TOP ¹öÆ° ¸¸µé±â + ÀÀ¿ë
269
Æ˾÷ ¶ç¿ì±â (SP2¿¡¼­µµ)
268
URL°ú Email¿¡ ÀÚµ¿ ¸µÅ©¸¸µé±â
267
¹è°æ À½¾ÇÀ» Çѹø¸¸ ½ÇÇà ½ÃÅ°±â - ÄíÅ°ÀÌ¿ë
266
Ç÷¡½Ã ¹è°æ Åõ¸íÇÏ°Ô Çϱâ
265
ÀÚµ¿ â´ÃÀ̱â
264
·£´ýÀ̹ÌÁö..(ÀÚ¹Ù½ºÅ©¸³Æ®)
263
¹«½ÉÄÚ Áö³ªÄ¡±â ½¬¿î ÀÎǪƮ(input)Æû¿¡ ´ëÇÑ ¸î°¡Áöµé....
¸ñ·Ï
¹ÂÁ÷Æ®·ÎÆ® ºÎ»ê±¤¿ª½Ã ºÎ»êÁø±¸ °¡¾ßµ¿ ¤Ó °³ÀÎÁ¤º¸Ãë±Þ¹æħ
Copyright ¨Ï musictrot All rights reserved.