实现效果:
将鼠标放在up按钮将上移框架内容,放在down将下移框架内容。
对应的HTML代码:
<body>
<iframe src="frame.html" width="50" height="400" frameborder="0" id="frame" scrolling="no"></iframe>
<input type="button" value="up"
onmouseover="timer1=setInterval('parent.frames[\'frame\'].scrollBy(0,-1)',10)"
onmouseout="clearInterval(timer1)" >
<input type="button" value="down"
onmouseover="timer1=setInterval('parent.frames[\'frame\'].scrollBy(0,1)',10)"
onmouseout="clearInterval(timer1)" >
</body>
No Data Now...
| ©2003-2012 Woody. Some Rights Reserved. Feed - Sitemap - Valid XHTML - Valid CSS - Creative Commons Powered by Woody. Skin Reserved by Default | Processed in 0.016602 Seconds. 4 Queries | 浙ICP备07029590号 |