Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

JavaScript xmlTree

<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title> JavaScript: xmlTree v1.1 [by Lapuasi.com] </title>
<script type="text/javascript" >
function xmlTree(name) {
 this.name         = name;                   //ʵÀýÃû³Æ
 this.xmlFile      = 'xmltree.xml';          //ĬÈÏxmlÎļþ
 this.iconPath     = 'images/'               //ĬÈÏͼ±ê·¾¶
 this.iconFolder   = 'tree_icon_folder.gif'; //ĬÈÏÎļþ¼Ðͼ±ê
 this.iconFile     = 'tree_icon_file.gif';   //ĬÈÏÎļþͼ±ê
 this.iconOpen     = 'tree_arrow_open.gif';  //ĬÈϼýÍ·Õ¹¿ªÍ¼±ê
 this.iconOver     = 'tree_arrow_over.gif';  //ĬÈϼýÍ·»î¶¯Í¼±ê
 this.iconClose    = 'tree_arrow_close.gif'; //ĬÈϼýÍ·¹Ø±Õͼ±ê
 this.mode         = 0;                      //³õʼģʽ£¬Ä¬ÈÏÈ«²¿¹Ø±Õ¡£0È«²¿¹Ø±Õ£¬1È«²¿Õ¹¿ª
 this.html         = '';                     //×îÖÕÊä³öhtml´úÂë
 this.prevTip      = null;                   //ÉÏÒ»´Î±»ÏÔʾµÄtipµÄʱ¼ä±àºÅ (ÄÚ²¿Ê¹ÓÃ)


Ïà¹ØÎĵµ£º

10¸ö·Ç³£°ôµÄAjax¼°JavascriptʵÀý×ÊÔ´ÍøÕ¾

1.Ajax Rain
¡¡¡¡AjaxRainÓкܶàÍêÃÀÕûºÏAJAX, CSS, DHTML »ò JavascriptµÄʵÀý£¬ÓÐһЩDemoµÄÈ·ÖµµÃÄãÈ¥¿´Ò»¿´£¬¼´Ê¹Äã²»ÊÇÍøÒ³Éè¼Æ(¿ª·¢)ʦ¡£
Ajax/JavascriptʵÀý:
 EXT JS Date Picker
 jQuery Feed Menu
 jGrowl
 FastFind Menu – Jquery
 Spiffy Accordion
2.Ajax Daddy
¡¡¡ ......

ÀûÓÃJavascriptÏòÒ³ÃæÖвåÈëTABLE£¬IEÏÂÎÞ·¨Õý³£ÏÔʾ

ÀûÓÃJavascriptÏòÒ³ÃæÖвåÈëTABLE£¬IEÏÂÎÞ·¨Õý³£ÏÔʾ
¹Ø¼ü×Ö: table, appendchild, ie, firefox
ÔÚÏîÄ¿ÖÐżȻÓöµ½Ò»¸ö¹ÖÒìµÄÎÊÌ⣬ÎÒÒªÀûÓÃjavascript¶¯Ì¬µÄÏòÒ»¸öDIVÖвåÈëһЩ¸öTABLE£¬Firefox¿ÉÒÔÕý³£ÏÔʾ£¬¶øÔÚIEÏ£¬ÎÞÂÛ°æ±¾ÊÇ6»ò7£¬¾ùÎÞ·¨¿´µ½Õâ¸öTABLE¡£µ«ÊÇ£¬Èç¹ûÎÒÖ±½Ó°ÑTABLEµÄHTML´úÂëдÔÚÒ³ÃæÉÏ£¬Ò»Çж¼ÄÜÕý ......

×Ö·û´®ÖеÄJSONת»»³ÉJAVASCRIPTµÄOBJECT

// ÏÂÃæ´úÂë¿éʵÏÖÁËstring.parseJSON·½·¨
(function(s){
  // This prototype has been released into the Public Domain, 2007-03-20
  // Original Authorship: Douglas Crockford
  // Originating Website: http://www.JSON.org
  // Originating URL    : http://www.JSON.o ......

40¸öÇáÁ¿¼¶JavaScript¿â½éÉÜ

40¸öÇáÁ¿¼¶JavaScript¿â½éÉÜ

Á÷ÐÐ JavaScript ¿â²»Ê¤Ã¶¾ÙjQuery, MooTools, Prototype, Dojo, YUIÕâЩ JavaScript ¿â¹¦Äܷḻ¼ÓÉÏËüÃDzå¼þ¼¸ºõÄÜʤÈÎÈκι¤×÷È»¶øÕâÓдú¼ÛÕâЩ¿âÍùÍùµ¼ÖÂÄãÍøÒ³³ß´çÓ·Ö×ijЩ³¡ºÏÈç¹ûÄãÖ»ÏëÍê³ÉÌض¨¹¤×÷¿ÉʹÓÃһЩ¹¦ÄܸüרһÇáÁ¿¿â±¾ÎĽéÉÜÁË40¸ö·Ç³£³öÉ«ÇáÁ¿¼¶ JavaScript ¿â
 
......

107¸ö³£ÓÃJavascriptÓï¾ä

1.         document.write( " "); Êä³öÓï¾ä
2.JSÖеÄ×¢ÊÍΪ//
3.´«Í³µÄHTMLÎĵµË³ÐòÊÇ:document- >html- >(head,body)
4.Ò»¸öä¯ÀÀÆ÷´°¿ÚÖеÄDOM˳ÐòÊÇ:window- >(navigator,screen,history,location,document)
5.µÃµ½±íµ¥ÖÐÔªËصÄÃû³ÆºÍÖµ:document.getElementB ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ