dwz页面初始化

  1. <script type="text/javascript">  
  2. $(function(){  
  3.     DWZ.init("__PUBLIC__/dwz/dwz.frag.xml", {  
  4.         loginUrl:"login_dialog.html", loginTitle:"登录",  // 弹出登录对话框  
  5. //      loginUrl:"login.html",  // 跳到登录页面  
  6.         statusCode:{ok:200, error:300, timeout:301}, //【可选】  
  7.         pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"}, //【可选】  
  8.         debug:false,    // 调试模式 【true|false】  
  9.         callback:function(){  
  10.             initEnv();  
  11.             $("#themeList").theme({themeBase:"__PUBLIC__/dwz/themes"}); // themeBase 相对于index页面的主题base路径  
  12.         }  
  13.     });  
  14. });  
  15.   
  16. script>  

你可能感兴趣的:(dwz页面初始化)