jQuery MiniUI 开发教程 导航控件 Tabs:懒加载页面(六)

[b]Tabs:懒加载页面[/b]
[img]http://www.miniui.com/docs/api/images/tabs_load.gif[/img]

参考示例:[url=http://www.miniui.com/demo/tabs/load.html]Tabs:懒加载页面[/url]

[b]创建Tabs[/b]
    showTreeIcon="true" textField="text" idField="id" >


[b]数据结构[/b]
通过url返回的数据结构如下:

[
{title: "Tab1", url: "../tabs/pages/page1.html", refreshOnClick: true},
{title: "Tab2", url: "../tabs/pages/page2.html", showCloseButton: true},
{title: "Tab3", url: "../tabs/pages/page3.html"},
{title: "Tab4", url: "../tabs/pages/page4.html"},
{title: "Tab5", url: "../tabs/pages/page5.html"}
]

你可能感兴趣的:(jquery)