文件名称:pic_scroll
- 所属分类:
- 图形图像处理(光照,映射..)
- 资源属性:
- [HTML]
- 上传时间:
- 2012-11-26
- 文件大小:
- 11kb
- 下载次数:
- 0次
- 提 供 者:
- t**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
打开页面后,图片就会不停的滚动。本实例首先使用了css中的overflow属性,把它的值设为hidden可以隐藏超出面积的部分,接着定义Marquee11()函数,通过改变gundong。scrollLeft的数值来使滚动图片的位置不停变化,
最后setInterval(mq,speed)来制作定时器达到动态效果。-Open the page, the picture will keep rolling. The examples of the first to use the css in the overflow attribute, its value is set to hidden to hide beyond the area of the part, then the definition of Marquee11 () function, by changing the gundong. Numerical scrollLeft to make a rolling picture of the location of non-stop change, the final setInterval (mq, speed) to create a timer to achieve the dynamic effects.
最后setInterval(mq,speed)来制作定时器达到动态效果。-Open the page, the picture will keep rolling. The examples of the first to use the css in the overflow attribute, its value is set to hidden to hide beyond the area of the part, then the definition of Marquee11 () function, by changing the gundong. Numerical scrollLeft to make a rolling picture of the location of non-stop change, the final setInterval (mq, speed) to create a timer to achieve the dynamic effects.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
图片滚动出现.html