<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<script language="javascript">
var CONTINUE;function startScrollLeft(){
CONTINUE=setInterval("div1.doScroll('scrollbarLeft');",50);
}function startScrollRight(){
CONTINUE=setInterval("div1.doScroll('scrollbarRight');",50);
}function stopScroll(){
clearInterval(CONTINUE);
}
</script>
<table width="40%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="21%"><input type="button" name="left" value="向左滚动" onmouseover="startScrollLeft()" onmouseout="stopScroll()"/></td>
<td width="32%"><div id="div1" style="width:200px;height:150px; overflow-x:hidden">abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz</div></td>
<td width="47%"><input name="right" type="button" value="向右滚动" onmouseover="startScrollRight()" onmouseout="stopScroll()"/></td>
</tr>
</table>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<script language="javascript">
var CONTINUE;function startScrollLeft(){
CONTINUE=setInterval("div1.doScroll('scrollbarLeft');",50);
}function startScrollRight(){
CONTINUE=setInterval("div1.doScroll('scrollbarRight');",50);
}function stopScroll(){
clearInterval(CONTINUE);
}
</script>
<table width="40%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="21%"><input type="button" name="left" value="向左滚动" onmouseover="startScrollLeft()" onmouseout="stopScroll()"/></td>
<td width="32%"><div id="div1" style="width:200px;height:150px; overflow-x:hidden">abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz</div></td>
<td width="47%"><input name="right" type="button" value="向右滚动" onmouseover="startScrollRight()" onmouseout="stopScroll()"/></td>
</tr>
</table>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head><body>
<script language="javascript">
var CONTINUE;function startScrollLeft(){
CONTINUE=setInterval("div1.doScroll('scrollbarLeft');",50);
}function startScrollRight(){
CONTINUE=setInterval("div1.doScroll('scrollbarRight');",50);
}function stopScroll(){
clearInterval(CONTINUE);
}
</script>
<table width="40%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="21%"><input type="button" name="left" value="向左滚动" onmouseover="startScrollLeft()" onmouseout="stopScroll()"/></td>
<td><div id="div1" style="width:200px;height:150px; overflow-x:hidden;" nowrap>
见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?见到过鼠标移到按钮上,文章内容会向上或向下移动.现在想让他向左向右移动,不该如何制作?
</div></td>
<td width="47%"><input name="right" type="button" value="向右滚动" onmouseover="startScrollRight()" onmouseout="stopScroll()"/></td>
</tr>
</table>
</body>
</html>