jQuery MiniUI
标题:
绘制树菜单时,在IE6下打开失败
[打印本页]
作者:
yuleizhuai
时间:
2013-2-1 11:43:45
标题:
绘制树菜单时,在IE6下打开失败
[attach]1317[/attach]
如图。左右分为Frame!
左界面绘制树时代码如下:
function onDrawNode(e) {
var tree = e.sender;
var node = e.node;
//alert(node.id);
if(node.id == 'sendTongzhi'){
e.nodeHtml = "<a href='javascript:' onclick='sendTongzhi();' target='main' >发送通知</a>";
}else if(node.id == 'banlizhong'){
e.nodeHtml = "<a href='javascript:' onclick='showTongzhi();' target='main' >办理中</a>";
}else if(node.id == 'yibanjie'){
e.nodeHtml = "<a href='javascript:' onclick='showBanjieTongzhi();' target='main' >已办结</a>";
}else if(node.id == 'huishouzhan'){
e.nodeHtml = "<a href='javascript:' onclick='showHuishouzhanTongzhi()' target='main' >回收站</a>";
}else if(node.id == 'banjian'){
e.nodeHtml = "<a href='<%=request.getContextPath()%>/importantwork/taskLaiWen.do?operate=showTaskLaiWen' target='main' >办件登记</a>";
}else if(node.id == 'menuTree'){
//tree.setNodeText ( node, "${styleName}菜单" );
//alert(e.getParentNode ( node ));
}
}
复制代码
问题是:在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