📄 20.html
字号:
<html>
<head>
<title>图片滚动按钮</title>
<style type="text/css">
<!--
.opacity {FILTER: alpha(opacity=100)}
-->
</style>
</head>
<body>
<script>
function movover(){
clearInterval(movx)
}
function movstar(a,time){
movx=setInterval("mov("+a+")",time)
}
function o_down(theobject){
object=theobject
while(object.filters.alpha.opacity>60){
object.filters.alpha.opacity+=-10}
}
function o_up(theobject){
object=theobject
while(object.filters.alpha.opacity<100){
object.filters.alpha.opacity+=10}
}
function mov(a){
scrollx=new_date.document.body.scrollLeft
scrolly=new_date.document.body.scrollTop
scrolly=scrolly+a
new_date.window.scroll(scrollx,scrolly)
}
function wback(){
if(new_date.history.length==0){window.history.back()}
else{new_date.history.back()}
}
</script>
<table>
<tr>
<td>
<iframe border=0 frameBorder=1 frameSpacing=0 height=200 marginHeight=0 marginWidth=0 name=new_date
noResize scrolling=yes src="pertain.htm" width=300 vspale="0"></iframe>
</td>
<td valign=bottom>
<p><img src="04.gif" width="19" height="15" class="opacity" onMouseDown=movover();movstar(-3,2) onMouseOut=movover();o_up(this) onMouseOver=movstar(-1,20);o_down(this) onMouseUp=movover();movstar(-1,20) alt="点住不放可以快速向上滚动"></p>
<p><img src="03.gif" width="19" height="15" class="opacity"
onMouseDown=movover();movstar(3,2) onMouseOut=movover();o_up(this) onMouseOver=movstar(1,20);o_down(this) onMouseUp=movover();movstar(1,20) alt="点住不放可以快速向下滚动"></p>
</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -