81,092
社区成员
发帖
与我相关
我的任务
分享
window.onload = function() {
loadTree();
};
/**加载树形菜单*/
function loadTree() {
setLoadGress("加载数据", "正在加载,请稍候...", 150, 60);
menuAjax.getMainMenus(function(result) {
createTree("divTree", result, "getJson()");
closeLoadGress();
});
}
function getJson() {
setLoadGress("加载数据", "正在加载,请稍候...", 150, 60);
menuAjax.getJson(getV("hdfPickTreeId"), function(result) {
createTree3(result);
closeLoadGress();
});
}
效果图:
http://img.my.csdn.net/uploads/201303/06/1362574313_5321.png