看看这个是不是你要的效果:
-----------------
mm.htm:
-----------------
<frameset rows="*,20%">
<frame name="main" src='liu.htm' target="footnotes">
<frame src='tt.htm' name="footnotes">
<noframes>
<body> <p>此网页使用了框架,但您的浏览器不支持框架。</p> </body>
</noframes>
</frameset>------------------
tt.htm
------------------
<body onmouseup="goStop()">
<center><span onmousedown="goUp();">up</span> <span onmousedown="goDown();">down</span></center>
</body>
<script>
function goDown()
{
window.parent.main.go_down.click();
}function goUp()
{
window.parent.main.go_up.click();
}
function goStop()
{
window.parent.main.go_stop.click();
}
</script> ------------------
liu.htm
------------------见下一贴子
-----------------
mm.htm:
-----------------
<frameset rows="*,20%">
<frame name="main" src='liu.htm' target="footnotes">
<frame src='tt.htm' name="footnotes">
<noframes>
<body> <p>此网页使用了框架,但您的浏览器不支持框架。</p> </body>
</noframes>
</frameset>------------------
tt.htm
------------------
<body onmouseup="goStop()">
<center><span onmousedown="goUp();">up</span> <span onmousedown="goDown();">down</span></center>
</body>
<script>
function goDown()
{
window.parent.main.go_down.click();
}function goUp()
{
window.parent.main.go_up.click();
}
function goStop()
{
window.parent.main.go_stop.click();
}
</script> ------------------
liu.htm
------------------见下一贴子
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货