<DSTree text="班组动态" href="http://" target="box" treeId="543543" />
</DSTree>
</DSTree>
</DSTreeRoot></xml> 比如我点"班组概况" 连到 text.aspx 请问如何实现?
//////////////////////////////////////////////////////“ target="box" ” 改为 “ target="mainFrame" ”不行吗?
</DSTree>
</DSTree>
</DSTreeRoot></xml> 比如我点"班组概况" 连到 text.aspx 请问如何实现?
//////////////////////////////////////////////////////“ target="box" ” 改为 “ target="mainFrame" ”不行吗?
var treeId;
treeId=this.getAttribute("treeId");
window.location="test1.aspx";
}但链节过来的页面是在 "leftFrame"显示,现在我要它定位到"mainFrame"显示请指点!
我忘了加 if( treeId=="4353")
window.location="test1.aspx";
}但链节过来的页面是在 "leftFrame"显示,现在我要它定位到"mainFrame"显示请指点!////////////////////////////////////////////////////如果没有意外,这样就可以了吧?
问题就是这么简单:)mainFrame.location="test1.aspx";
规范点儿:mainFrame.location.href="test1.aspx";
parent.document.getElementById('mainFrame').location.href="test1.aspx";
错误:parent.document.getElementById('...').location 为空或不是对象
没错!!!!!!用这个!!!!!!而不是location