js无缝滚动,不平滑(求高人指点)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无缝滚动</title>
<style>
*{ margin:0; padding:0;} .container{ width:450px; height:150px; border:2px solid orange; overflow:hidden; margin:200px auto;}
.container ul li{ width:400px; line-height:35px; margin-left:15px; border-bottom:1px dashed gray; list-style:none;}
</style>
</head>
<body>
<div class="container" id="container">
<div id="scroll1">
<ul>
<li>1.韩国客机坠毁旧金山 乘客讲述被甩出客舱一瞬</li>
<li>2.中领馆证实韩亚客机事故2名遇难者为中国公民</li>
<li>3.中关村空间信息技术产业联盟</li>
<li>4.韩国亚洲航空航班失事 伤亡情况暂时不详</li>
<li>5.百度知道自动问答采纳软件 </li>
<li>6.孩子学习不好怎么办</li>
</ul>
</div>
<div id="scroll2">
</div>
</div> </body>
<script>
function Fid(id)
{
return "string" == typeof id ? document.getElementById(id) : id;;
} function Marquee()
{
Fid('scroll2').innerHTML = Fid('scroll1').innerHTML; var timer = 0;
function _scroll()
{
timer = setInterval(function(){ if(Fid('container').scrollTop == Fid('scroll1').offsetHeight){
Fid('container').scrollTop = 0;
} Fid('container').scrollTop ++; },20)
} _scroll(); //移动到上面停止滚动
Fid('container').onmouseover = function(){
clearInterval(timer); } //移除继续滚动
Fid('container').onmouseout = function(){
_scroll();
}
} Marquee(); </script>
</html>
效果图:
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAtIAAAFXCAIAAAAAnT4LAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAgAElEQVR4nO3dT26jPgPGcfPqd5SRugCF3KMLkLJLBceAZdQlHAPU7CLBovcgESwq9S68C/7EgCGk7Xjame9nNaUJGMPgB9tQo65rAQAA8Pv9708XAAAA/CuIHQAAQBNiBwAA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b9QDg87iWfnsMsgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB34ArlvbOPqT5fib5L7huHno4VVvKWeAfxsxA6sUMVbRSvYy0+p2DyYq9c1XFMVb4dt6XKIyX3jo21vFW/Ve5H7C3s3u6pxKW7U0txqOtLqqviQCm/n3LGmSU65lVFUwWa2ggDgi/A3Wb6H5u8IAAA+j7/J8o3R2wEAADShtwMAAGhCbwcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANCE2AEAADQhdgAAAE2IHQAAQBNiBwAA0ITYAQAANCF2AAAATYgdAABAE2IHAADQhNgBAAA0IXYAAABNiB0AAEATYgcAANDk/8OJkOTDD1SqAAAAAElFTkSuQmCC" alt="" />
js无缝滚动,不平滑(求高人指点)的更多相关文章
- 手写JS无缝滚动插件
<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8&qu ...
- js无缝滚动原理及详解[转自刹那芳华]
刚刚接触JS,网上找了一些关于无缝滚动的教程,但都大同小异,对我这种新手来说也只是会用,不知道什么意思,想要自己写个更是一头雾水.于是找了一些资料,详细说明一下JS无缝滚动的原理,相信看过这篇文章之后 ...
- js 无缝滚动效果学习
<!DOCTYPE html> <html> <head> <title>无缝滚动测试</title> <meta http-equi ...
- js无缝滚动跑马灯
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8&quo ...
- JS无缝滚动
p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 31.0px Consolas; color: #2b7ec3 } p.p2 { margin: 0.0px ...
- [Js]无缝滚动
效果: 1.默认缓慢往左滚动 2.放到左箭头上还是向左滚动,放到右箭头上向右滚动 3.放到图片上停止滚动,移出继续滚动 思路: 1.计算图片列表ul的宽度 2.开启定时器,使其向左边距不断增大,造成向 ...
- JS——无缝滚动
1.描述——无缝滚动图片 2.代码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8" ...
- 纯js无缝滚动
HTML代码 <!--父容器要使用overflow: hidden;--> <div id="imgsList" style="height:150px ...
- scrollLeft的相关问题(js横向无缝滚动)
<div id="demo"> <div id="innerdemo"> <div id="demo1"> ...
随机推荐
- Problem G: 切煎饼
Description 王小二自夸刀工不错,有人放一张大的圆煎饼在砧板上,问他:饼不允许离开砧板,切100刀最多能切多少块? Input 多组测试数据,每组输入1个整数,代表切的刀数 Output 每 ...
- BeanFactoryPostProcessor和BeanPostProcessor
1. BeanFactoryPostProcessor调用(见AbstractApplicationContext.refresh): >> 创建DefaultListableBeanFa ...
- 几种OutOfMemoryError
JAVA虚拟机OutOfMemoryError主要包括以下四类:java.lang.OutOfMemoryError: Java heap spacejava.lang.OutOfMemoryErro ...
- TortoiseSVN里锁lock 的使用方法
刚才试验了一下,终于搞明白了TortoiseSVN里锁lock 的使用方法. 简单的说,如果压根没有锁lock,那么每个人都拥有一个本地copy,每个人都能自由地对本地copy编辑edit并提交com ...
- Java获取服务器IP和客户端IP
服务器IP: String addr = InetAddress.getLocalHost().getHostAddress(); 说明:很明显上面是没考虑到服务器有多个iP的情况. 客户顿啊IP: ...
- asp动态数组
本文所说的 ASP 数组是指在 ASP 中以默认语言 VBScript 为语言的数组. 样例: Dim MyArray() for i = 0 to 10 ...
- 用CSS3来代替JS实现交互
[CSS3和JS] 对于CSS了解的同学都知道,CSS的实现是最底层的,在实现方式和性能上都不是,JS这种提供接口的脚本可比的:从CSS3的动画和JS动画对比角度来看两者,会更清晰:而且随着前端框架的 ...
- 关于linux的进程中的各个线程cpu占用情况的分析和查看
我们常常会在新开的服搭建一个游戏的server,有时候要进行压力測试,那么怎样来看呢,一般我们会通过top命令查看各个进程的cpu和内存占用情况,获得到了我们的进程id,然后我们或许会通过pstack ...
- Java Collection 简介
转自:http://skyuck.iteye.com/blog/526358 在 Java2中,有一套设计优良的接口和类组成了Java集合框架Collection,使程序员操作成批的数据或对象元素极为 ...
- 比較不错的一个ios找茬游戏源代码
找茬游戏源代码 .这个是一款很不错的ios找茬游戏源代码,该游戏的兼容性很好的.并且还能够支持ipad和iphone.UI界面设计得也很美丽,游戏源代码真的是一款很完美.并且又很完整的一款休闲类的游戏 ...