iWiz ShareBase

IT Specialist À±ÅÂÇöÀÇ iWiz ShareBase´Â IT»Ó ¾Æ´Ï¶ó °¢Á¾ Àâ´ÙÇÑ Áö½ÄµéÀ» ÇÔ²² ³ª´©´Â Áö½Ä°øÀ¯ Ä¿¹Â´ÏƼÀÔ´Ï´Ù.

iWiz,ShareBase,À±ÅÂÇö,Java,JSP,EJB,IT,Á¤º¸±â¼ú,À¥ÇÁ·Î±×·¡¹Ö,PHP,ASP,DBMS,MySQL,¼­¹ö,³×Æ®¿öÅ©,server,network,WAS,À¥¾ÖÇø®ÄÉÀ̼Ç,ºí·Î±×,blog,À¥¼­¹ö,DB,¿À¶óŬ,oracle,mysql,JRun,À¥·ÎÁ÷,ÅèĹ,tomcat,¾ÆÆÄÄ¡,ÀÚµ¿Â÷,EF½î³ªÅ¸,·Î¶Ç 6/45

°¶·¯¸® Pixelgrapher.com | ·Î¶Ç 6/45 ¹øÈ£»ý¼º ¹× Åë°è µ¥ÀÌÅÍ | Àüü±â»çº¸±â | Àüü±Û #1 | Àüü±Û #2 | Àüü±Û #3 | Àüü±Û #4 | Àüü±Û #5 | Àüü±Û #6 | Àüü±Û #7 | Àüü±Û #8 | Àüü±Û #9 | Àüü±Û #10 |
HOME iWiz
ShareBase
Remember 0523 & 0818
Áö½ÄÀº ³ª´­¼ö·Ï Ä¿Áý´Ï´Ù - iWiz's ShareBase
À¥ÇÁ·Î±×·¡¹Ö(±âŸ) PHP, ASP, Perl, CGI µî °¢Á¾ À¥ÇÁ·Î±×·¡¹Ö¿¡ °üÇÑ ÀÚ·áµéÀÔ´Ï´Ù.


  iWiz(2004-01-04 22:54:26, Hit : 6027, Vote : 43
 http://www.wz.pe.kr

JavaScript¿¡¼­ ºê¶ó¿ìÁ® Á¾·ù Æǵ¶ ¹× ºê¶ó¿ìÁ®¿¡ µû¸¥ DOM ó¸®


HTML ÆäÀÌÁö¸¦ ¸¸µé´Ùº¸¸é JavaScript¸¦ ÀÌ¿ëÇØ Å¬¶óÀ̾ðÆ® »çÀÌµå ½ºÅ©¸³Æ®¸¦ ÀÛ¼ºÇÏ´Â °æ¿ì°¡ Á¾Á¾ ÀÖ½À´Ï´Ù.  À̶§ ºê¶ó¿ìÁ®¸¶´Ù ±¸Çö ¹æ¹ýÀÌ Á¶±Ý¾¿ ´Þ¶ó ¾Ö¸¦ ¸Ô´Âµ¥, ƯÈ÷ ¿µ¹® »çÀÌÆ® µî ³Ý½ºÄÉÀÌÇÁ À¯Àú¸¦ °í·ÁÇÑ »çÀÌÆ®ÀÇ Á¦À۽à ÀûÁö¾ÊÀº ½Ã°£ÀÌ ¼Ò¿äµË´Ï´Ù.

JSÀÇ ¹®À̳ª ¸Þ¼Òµå µî native ÄÚµåµéÀº ºê¶ó¿ìÁ®¿¡ ¿µÇâÀ» º°·Î ¹ÞÁö ¾ÊÁö¸¸, ºê¶ó¿ìÁ®¸¶´Ù DOMÀÇ ±¸ÇöÀÌ ´Þ¶ó JS¿¡¼­ HTML ¹®¼­¿¡ Á¢±ÙÇϴµ¥ ÀÖ¾î Â÷ÀÌ°¡ ³³´Ï´Ù.

Áö±Ý±îÁö´Â ´ë°³ navigator.appName µîÀÇ ¼Ó¼ºÀ» °¡Á®¿Í À̸§¿¡ µû¸¥ ºÐ±â¸¦ ÇÏ´Â °ÍÀÌ ÀϹÝÀûÀ̾úÁö¸¸, À̺¸´Ù ´õ Á¤È®ÇÏ°í °£°áÇÏ°Ô Æǵ¶ÇÏ´Â ¹æ¹ýÀº ¾î¶² ¹æ½ÄÀ¸·Î DOMÀ» ±¸ÇöÇÏ´ÂÁö¸¦ °¨ÁöÇØ, ±× ¹æ½Ä¿¡ µû¶ó ºÐ±âÇÏ´Â °ÍÀÌ ´õ ¸Â´Â ¹æ½Ä °°½À´Ï´Ù.

ºê¶ó¿ìÁ®¿¡¼­ DOMÀ» ±¸ÇöÇÏ´Â ¹æ½ÄÀº ´ëü·Î ¼¼°¡Áö ¹æ½ÄÀ¸·Î ³ª´­ ¼ö ÀÖ½À´Ï´Ù. (¾Æ·¡ ¸íĪÀº °ø½Ä¸íĪÀÌ ¾Æ´Ï¶ó Á¦ ³ª¸§´ë·Î °®´ÙºÙÀÎ °ÍÀÔ´Ï´Ù)

  • W3C DOM : W3CÀÇ Ç¥ÁØ DOM ±Ô°ÝÀ¸·Î, À̸¦ ±¸ÇöÇÏ´Â ºê¶ó¿ìÁ®·Î´Â IE6¿Í Nescape 6 ÀÌ»óÀÇ ¹öÀü µîÀÇ ÃֽŠ¹öÀüÀÇ ºê¶ó¿ìÁ®°¡ ÀÖ½À´Ï´Ù.
  • MS DOM : MSIE 4.x/5.x/6.x¿¡¼­ »ç¿ëÇÏ´Â Object Model ÀÔ´Ï´Ù. 6.0 ÀÌ»óÀº MS DOM°ú ÇÔ²² W3C DOMµµ Áö¿øÇÏÁö¸¸, ±× 5.x ÀÌÇÏ ¹öÀüÀº MSÀÇ DOM¿¡ µû¶ó À¥¹®¼­¿¡ Á¢±ÙÇØ¾ß ÇÕ´Ï´Ù.
  • Netscape DOM : Netscape Navigator 4.x ´ë¿¡¼­ »ç¿ëÇÏ´ø DOM ÀÔ´Ï´Ù.  ³Ý½ºÄÉÀÌÇÁ ¿ª½Ã 6.X ¹öÀü´ëºÎÅÍ´Â W3C DOMµµ ÇÔ²² Áö¿øÇÏ°í ÀÖ½À´Ï´Ù.

½ÇÁ¦·Î Ŭ¶óÀ̾ðÆ® ºê¶ó¿ìÁ®°¡ ¾î¶² DOMÀ» »ç¿ëÇÏ´À³Ä¸¦ üũÇÏ´Â ¹æ¹ýÀº ´ÙÀ½°ú °°½À´Ï´Ù.

 
        if (document.getElementById) {
            ....
             // W3C Ç¥ÁØ DOM ÄÚµå
            ....
        } else if (document.all) {
            ...
            // IE 4/5 DOM ÄÚµå
            ...
        } else if (document.layers) {
            ...
            // Netscape Navigator 4 DOM ÄÚµå
            ...
        } else {
            ...
            // DOMÀ» Áö¿øÇÏÁö ¾Ê´Â ºê¶ó¿ìÁ®¸¦ À§ÇÑ ÄÚµå
            ...
        }
  

±×·³ ¿¹Á¦¸¦ º¸¿©µå¸®°Ú½À´Ï´Ù.  ÀÌ°ÍÀº º»¹®ÁßÀÇ <span id="domtest"></span> ¶ó´Â űװ¡ ÀÖ°í JavaScript¸¦ ÅëÇØ <span> ~ </span> »çÀÌ¿¡ Hello World¶ó´Â ÅؽºÆ®¸¦ Áý¾î³Ö´Â ÄÚµåÀÔ´Ï´Ù.

 
        if (document.getElementById) {  // W3C Ç¥ÁØ DOM ȣȯ ÄÚµå

            var objHello = document.createTextNode("Hello World"); // ÅؽºÆ® ³ëµå »ý¼º
            var objEntry = document.getElementById("domtest"); // ÅؽºÆ®°¡ µé¾î°¥ ű×

            if (objEntry.hasChildNodes()) { // ´Ù¸¥ Àڽijëµå°¡ ÀÖÀ¸¸é ±× ³ëµå¸¦ ´ëü
                var objChild = objEntry.firstChild; // ù¹ø° ³ëµå ¾ò±â
                objEntry.replaceChild(objHello, objChild); // ù¹ø° ³ëµå¸¦ ´ëü
            } else { // ÀÚ½Ä ³ëµå°¡ ¾øÀ¸¸é »õ ³ëµå Ãß°¡
                objEntry.appendChild(objHello); // ³ëµå Ãß°¡Çϱâ
            } // if

        } else if (document.all) {  // MS DOM ȣȯ ÄÚµå

            document.all['domtest'].innerText = "Hello World"; // innerText¿¡ ±ÛÀÚ ³Ö±â

        } else if (document.layers) {   // Netscape DOM ȣȯ ÄÚµå

            var objEntry = document.domtest;
            objEntry.document.write("Hello World");

        }
 

º¸½Ã´Ù½ÃÇÇ IE°¡ °¡Àå °£´ÜÇÏ°í ÀÌÇØ°¡ ½¬¿î ¹Ý¸é, W3CÀÇ DOMÀÌ °¡Àå ±î´Ù·Ó°í º¹ÀâÇÕ´Ï´Ù.  ±×·¯³ª Ç¥ÁØÀ̱⠶§¹®¿¡ ¿µ¹®»çÀÌÆ®¿¡¼­ JavaScript¸¦ ÅëÇØ Document¿¡ Á¢±ÙÇÒ ¶§´Â ²À °í·ÁÇؾßÇÒ »çÇ×ÀÌ°ÚÁÒ.

»ç¿ëÀÚµéÀÇ ´ëºÎºÐÀÌ MSIE³ª netscape¸¦ ºÒ¹®ÇÏ°í ÃֽŠºê¶ó¿ìÁ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù¸é W3C DOM Çϳª¸¸ °í·ÁÇÏ¸é µÉ µí ÇÕ´Ï´Ù¸¸, ÇöÀç MSIE 5.X ´ë¸¦ »ç¿ëÇÏ´Â »ç¿ëÀÚ°¡ ¸¹½À´Ï´Ù. (Netscape 4.x´Â ³ª¿ÂÁöµµ ¿À·¡µÇ¾ú°í ȣȯ¼º ºÎºÐÀ̳ª W3C Ç¥ÁØ Áؼö ºÎºÐ¿¡µµ ¹®Á¦°¡ ¸¹±â ¶§¹®¿¡ 100% ¸ðµÎ °í·ÁÇØÁÖ±â´Â Èûµéµí ÇÕ´Ï´Ù)

¾Æ¹«Æ° À§ÀÇ ÄÚµå´Â ÇöÀç ¸¸µé°í ÀÖ´Â Post an Offer ±â´É¿¡¼­ ¿ÀÆÛ¸¦ µî·ÏÇÒ Ä«Å×°í¸®¸¦ ¼±ÅÃÇÏ´Â ºÎºÐ¿¡¼­ »ç¿ëÇÏ¿´À¸´Ï, Ȥ ³ªÁß¿¡ ½ÇÁ¦ ±¸ÇöµÈ Äڵ尡 ÇÊ¿äÇϽøé ÇØ´ç ¼Ò½º¸¦ ÂüÁ¶ÇϽñ⠹ٶø´Ï´Ù.




62   mod_throttle ¸ðµâÀ» ÀÌ¿ëÇÑ »ç¿ëÀÚ Æ®·¡ÇÈ Á¦¾î  iWiz 2006/06/22 9246 0
61   Tomcat-Apache using JK2 connector  iWiz 2004/03/21 8822 41
60   RedHat 9.0¿¡¼­ÀÇ JRun JSP ÄÄÆÄÀÏ·¯ÀÇ ¹®Á¦Á¡  iWiz 2004/01/04 5692 50
59   RedHat 9.0¿¡¼­ÀÇ JRun-Apache Ä¿³ØÅÍÀÇ ¹®Á¦Á¡  iWiz 2004/01/04 5300 48
58   JRun 4.0ÀÇ Æ©´× °ü·Ã ¿É¼Ç  iWiz 2004/01/04 6101 68
57   JRun 4.0ÀÇ Activity ¸ð´ÏÅ͸µ ¹æ¹ý  iWiz 2004/01/04 5056 57
56   JRun4.0: DataSource Ä¿³Ø¼ÇÇ® °ü·Ã ¿É¼Ç [4]  iWiz 2004/01/04 6792 46
55   JRun¿¡¼­ JSP ÄÄÆÄÀϽà java ÆÄÀÏ »ý¼ºÇÏ±â  iWiz 2004/01/04 8217 63
54   JRunÀÇ ½ÇÁ¦ ¼­ºñ½º ¿î¿µ½Ã °í·Á»çÇ×  iWiz 2004/01/04 7751 44
53   ¼öÁ¤µÈ ÀÎÅÍ³Ý ÀͽºÇ÷η¯¿¡¼­ »óÈ£ÀÛ¿ë ActiveX ÄÁÆ®·Ñ È°¼ºÈ­ °¡ÀÌµå  iWiz 2006/03/03 8636 4
52   HTML Ư¼ö±âÈ£ ¿£ÅÍƼ(Entity) Å×À̺í [2]  iWiz 2006/03/03 20664 2
51   À¥»çÀÌÆ®ÀÇ »õ·Î¿î Çõ¸í Ajax [13]  iWiz 2005/11/22 5997 6
50   MSN ¸Þ½ÅÀú Ä£±¸ ÀÚµ¿µî·Ï ½ºÅ©¸³Æ®  iWiz 2004/10/12 6326 35
49   JavaScript MD5 Çؽ¬ »ý¼º ÇÔ¼ö  iWiz 2004/01/07 9306 35
48   JavaScript·Î ¸¸µç Áø¹ýº¯È¯ ¹× º¸¼ö°è»ê±â [4]  iWiz 2004/01/04 162824 51

1 [2][3][4][5]
 

Copyright 1999-2024 Zeroboard / skin by zero
iWiz ShareBase, ¨ÏCopyleft by iWiz.  For more information contact .
º» À¥»çÀÌÆ®¿¡ °Ô½ÃµÈ À̸ÞÀÏ ÁÖ¼Ò°¡ ÀüÀÚ¿ìÆí ¼öÁý ÇÁ·Î±×·¥À̳ª ±× ¹ÛÀÇ ±â¼úÀû ÀåÄ¡¸¦ ÀÌ¿ëÇÏ¿© ¹«´ÜÀ¸·Î ¼öÁýµÇ´Â °ÍÀ» °ÅºÎÇϸç, À̸¦ À§¹Ý½Ã¿¡´Â Á¤º¸Åë½Å¸Á¹ý¿¡ ÀÇÇØ Çü»çó¹úµÊÀ» À¯³äÇϽñ⠹ٶø´Ï´Ù. [°Ô½ÃÀÏ 2004. 1. 31]