CLIENT GUI Framework
[vnfsdk/refrepo.git] / portal-common / src / main / webapp / common / thirdparty / zTree / api / en / treeNode.url.html
1 <div class="apiDetail">\r
2 <div>\r
3         <h2><span>String</span><span class="path">treeNode.</span>url</h2>\r
4         <h3>Overview<span class="h3_info">[ depends on <span class="highlight_green">jquery.ztree.core</span> js ]</span></h3>\r
5         <div class="desc">\r
6                 <p></p>\r
7                 <div class="longdesc">\r
8                         <p>The URL of node link</p>\r
9                         <p class="highlight_red">1. In edit mode (setting.edit.enable = true) , this feature fails. If you must use a similar feature, please use the 'onClick' callback for their own control.</p>\r
10                         <p class="highlight_red">2. If you use  the 'onClick' callback function to control opening URL , then set the URL  in the other custom attribute, do not use the 'url' attribute.</p>\r
11                         <p>Default: undefined</p>\r
12                 </div>\r
13         </div>\r
14         <h3>String Format</h3>\r
15         <div class="desc">\r
16         <p>As same as &lt;a&gt; tag's 'href' attribute.</p>\r
17         </div>\r
18         <h3>Examples of treeNode</h3>\r
19         <h4>1. Set the URL is 'g.cn'</h4>\r
20         <pre xmlns=""><code>var nodes = [\r
21         { "id":1, "name":"Google CN", "url":"http://g.cn"},\r
22         ......\r
23 ]</code></pre>\r
24 </div>\r
25 </div>