API_cn.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>API 文档 [zTree -- jQuery 树插件]</title>
  6. <link rel="stylesheet" href="apiCss/common.css" type="text/css">
  7. <link rel='stylesheet' href='apiCss/zTreeStyleForApi.css' type='text/css'>
  8. <script type="text/javascript">
  9. var ie = (function(){
  10. var undef,
  11. v = 3,
  12. div = document.createElement('div'),
  13. all = div.getElementsByTagName('i');
  14. while (
  15. div.innerHTML = '<!--[if gt IE ' + (++v) + ']><i></i><![endif]-->',
  16. all[0]
  17. );
  18. return v > 4 ? v : undef;
  19. }()), ie6 = (ie === 6),
  20. path = window.location.pathname.replace(/.*\/([^\/\.]*)\..*/g,"$1"),
  21. langLib = [];
  22. ie = ie<9;
  23. if(ie) {
  24. document.write('<link rel="stylesheet" href="apiCss/common_ie6.css" type="text/css">');
  25. }
  26. var lang = "cn",
  27. ajaxMsg = "如果你使用的是 Chrome 浏览器,那么请把 API 文档发布到 web 服务目录下访问。\n\n(Chrome 浏览器不支持本地 ajax 访问, 即:file://)";
  28. </script>
  29. </head>
  30. <body>
  31. <div id="header_wrap" class="header_wrap" style="padding-top: 30px;">
  32. <div id="header" class="header round">
  33. <div class="light-bulb" alt=""></div>
  34. <div class="ieSuggest">浏览本网站建议您使用 Chrome、FireFox、Opera、IE9 等浏览器(只要不是 IE6 7 8 就行), 速度会更快,画面会更炫!</div>
  35. <div class="google_plus"><g:plusone></g:plusone></div>
  36. <div class="header-text">
  37. <h1><em>zTree v3.5.17 API 文档</em></h1><p></p>
  38. <p>all.js = core + excheck + exedit ( 不包括 exhide ); 发现错误请及时通知,谢谢。</p>
  39. </div>
  40. <ul class="shortcuts language" style="top:0;">
  41. <li><a href="API_en.html" onclick="window.location.href='API_en.html'"><button class="ico en" title="英文版" type="button"></button><span class=""></span></a></li>
  42. </ul>
  43. </div>
  44. </div>
  45. <div id="content_wrap" class="content_wrap">
  46. <div id="content" class="content">
  47. <div class="nav_section">
  48. <ul>
  49. <li class="first">注释:</li>
  50. <li><button class="ico16 z_core" onfocus="this.blur();"></button><span>core 核心包</span></li>
  51. <li><button class="ico16 z_check" onfocus="this.blur();"></button><span>excheck 扩展</span></li>
  52. <li><button class="ico16 z_edit" onfocus="this.blur();"></button><span>exedit 扩展</span></li>
  53. <li><button class="ico16 z_hide" onfocus="this.blur();"></button><span>exhide 扩展</span></li>
  54. <li class="noline">
  55. <button class="ico16 z_search" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
  56. <input type="text" class="searchKey search empty" value=""><input type="text" class="searchResult search" value="">
  57. <button class="ico16 searchPrev disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
  58. </li>
  59. </ul>
  60. </div>
  61. <div id="contentBox" class="contentBox round clearfix">
  62. <div id="apiContent" class="apiContent">
  63. <div id="api_setting" class="api_setting left">
  64. <ul class="api_content_title"><li>setting 配置详解</li></ul>
  65. <ul id="settingTree" class="ztree"></ul>
  66. </div>
  67. <div id="api_function" class="api_function right">
  68. <ul class="api_content_title"><li>zTree 方法详解</li></ul>
  69. <ul id="functionTree" class="ztree"></ul>
  70. <ul class="api_content_title"><li>treeNode 节点数据详解</li></ul>
  71. <ul id="treenodeTree" class="ztree"></ul>
  72. </div>
  73. </div>
  74. </div>
  75. <div class="clear"></div>
  76. </div>
  77. </div>
  78. <!-- overlayed -->
  79. <div id="overlayDiv" class="baby_overlay">
  80. <div id="overlayContent" class="content round clearfix">
  81. <div class="overlaySearch">
  82. <button class="ico16 z_search" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
  83. <input type="text" class="searchKey search empty" value=""><input type="text" class="searchResult search" value="">
  84. <button class="ico16 searchPrev disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="Enter 以及 左、右键可以快速定位查找结果"></button>
  85. </div>
  86. <a id="overlayDivCloseBtn" class="close"></a>
  87. <div id="overlayDetailDiv" class="details"></div>
  88. </div>
  89. <div id="overlayDivArrow" class="baby_overlay_arrow"></div>
  90. </div>
  91. <script type="text/javascript" src="apiCss/jquery-1.6.2.min.js"></script>
  92. <script type='text/javascript' src='apiCss/jquery.ztree.core-3.5.js'></script>
  93. <script type='text/javascript' src='apiCss/api.js'></script>
  94. <script type="text/javascript">
  95. $(document).ready(function(){
  96. apiContent._init();
  97. });
  98. </script>
  99. </body>
  100. </html>