API_en.html 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  5. <title>API Document [zTree -- jQuery tree plug-ins.]</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 = "en",
  27. ajaxMsg = "If you use chrome browser, please copy the API files to local webserver. \n\n( because chrome browser can't allow AJAX access to '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">If you use the Chrome / FireFox / Opera / IE9 browser will be even more dazzling effect!</div>
  35. <div class="google_plus"><g:plusone></g:plusone></div>
  36. <div class="header-text">
  37. <h1><em>zTree v3.5.17 API Document</em></h1><p></p>
  38. <p>all.js = core + excheck + exedit ( without exhide ); if you found some mistakes please contact me.</p>
  39. </div>
  40. <ul class="shortcuts language" style="top:0;">
  41. <li><a href="API_cn.html" onclick="window.location.href='API_cn.html'"><button class="ico cn" title="Chinese" 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">Notes: </li>
  50. <li><button class="ico16 z_core" onfocus="this.blur();"></button><span>core package</span></li>
  51. <li><button class="ico16 z_check" onfocus="this.blur();"></button><span>excheck pack</span></li>
  52. <li><button class="ico16 z_edit" onfocus="this.blur();"></button><span>exedit pack</span></li>
  53. <li><button class="ico16 z_hide" onfocus="this.blur();"></button><span>exhide pack</span></li>
  54. <li class="noline">
  55. <button class="ico16 z_search" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></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', 'left' and 'right' key can locate the search results quickly."></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></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 details</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 method details</li></ul>
  69. <ul id="functionTree" class="ztree"></ul>
  70. <ul class="api_content_title"><li>treeNode data details</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', 'left' and 'right' key can locate the search results quickly."></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', 'left' and 'right' key can locate the search results quickly."></button><button class="ico16 searchNext disabled" onfocus="this.blur();" title="'Enter', 'left' and 'right' key can locate the search results quickly."></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>