jQuery MiniUI

标题: 绘制树菜单时,在IE6下打开失败 [打印本页]

作者: yuleizhuai    时间: 2013-2-1 11:43:45     标题: 绘制树菜单时,在IE6下打开失败

[attach]1317[/attach]
如图。左右分为Frame!
左界面绘制树时代码如下:
  1. function onDrawNode(e) {
  2. var tree = e.sender;
  3. var node = e.node;
  4. //alert(node.id);
  5. if(node.id == 'sendTongzhi'){
  6. e.nodeHtml = "<a href='javascript:' onclick='sendTongzhi();' target='main' >发送通知</a>";
  7. }else if(node.id == 'banlizhong'){
  8. e.nodeHtml = "<a href='javascript:' onclick='showTongzhi();' target='main' >办理中</a>";
  9. }else if(node.id == 'yibanjie'){
  10. e.nodeHtml = "<a href='javascript:' onclick='showBanjieTongzhi();' target='main' >已办结</a>";
  11. }else if(node.id == 'huishouzhan'){
  12. e.nodeHtml = "<a href='javascript:' onclick='showHuishouzhanTongzhi()' target='main' >回收站</a>";
  13. }else if(node.id == 'banjian'){
  14. e.nodeHtml = "<a href='<%=request.getContextPath()%>/importantwork/taskLaiWen.do?operate=showTaskLaiWen' target='main' >办件登记</a>";
  15. }else if(node.id == 'menuTree'){
  16. //tree.setNodeText ( node, "${styleName}菜单" );
  17. //alert(e.getParentNode ( node ));
  18. }
  19. }
复制代码
问题是:在IE7,8下点击左边节点右边可显示正常,在IE6下,点树节点无效。


作者: factory    时间: 2013-2-1 12:44:49

你在你的IE6下测试下http://www.miniui.com/demo/#src=tree/drawnode.html
能否正常打开页面




欢迎光临 jQuery MiniUI (http://miniui.com/discuss/) Powered by Discuz! X2