可如果两张都要跳就不会做啦
8 个解决方案
#1
<a href="javascript:Goto();">
function Goto()
{
parent.frames["leftFrameName"].href = "about:blank";
parent.frames["rightFrameName"].href = "about:blank";
}
function Goto()
{
parent.frames["leftFrameName"].href = "about:blank";
parent.frames["rightFrameName"].href = "about:blank";
}
#2
大哥,我是这样做啦可是没反应啊~~~~~
#3
含泪求助啊
#4
<script>
function jump()
{
/*"left"、"main"分别为左右iframe的name属性值*/
parent.frames["left"].location.href="left.htm"
parent.frames["main"].location.href="main.htm";
}
</script>
<a href="#" onclick="jump()">test</a>
#5
<script>
function jump()
{
top.document.frames.leftframe.document.location.replace("left.htm");
top.document.frames.rightframe.document.location.replace("right.htm");
}
</script>
<a href="#" onclick="jump()">test</a>
function jump()
{
top.document.frames.leftframe.document.location.replace("left.htm");
top.document.frames.rightframe.document.location.replace("right.htm");
}
</script>
<a href="#" onclick="jump()">test</a>
#6
大家都说了
我来混个分
我来混个分
#7
我也是来混分的............
#8
up
#1
<a href="javascript:Goto();">
function Goto()
{
parent.frames["leftFrameName"].href = "about:blank";
parent.frames["rightFrameName"].href = "about:blank";
}
function Goto()
{
parent.frames["leftFrameName"].href = "about:blank";
parent.frames["rightFrameName"].href = "about:blank";
}
#2
大哥,我是这样做啦可是没反应啊~~~~~
#3
含泪求助啊
#4
<script>
function jump()
{
/*"left"、"main"分别为左右iframe的name属性值*/
parent.frames["left"].location.href="left.htm"
parent.frames["main"].location.href="main.htm";
}
</script>
<a href="#" onclick="jump()">test</a>
#5
<script>
function jump()
{
top.document.frames.leftframe.document.location.replace("left.htm");
top.document.frames.rightframe.document.location.replace("right.htm");
}
</script>
<a href="#" onclick="jump()">test</a>
function jump()
{
top.document.frames.leftframe.document.location.replace("left.htm");
top.document.frames.rightframe.document.location.replace("right.htm");
}
</script>
<a href="#" onclick="jump()">test</a>
#6
大家都说了
我来混个分
我来混个分
#7
我也是来混分的............
#8
up