banner图片轮转(利用jquery)
来源:互联网 发布:java 动态方法 编辑:程序博客网 时间:2024/05/01 13:45
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,maximum-scale=1" /><link rel="stylesheet" href="http://dundunbook.sinaapp.com/js_css/reset.css"><script src="http://dundunbook.sinaapp.com/js_css/jquery-1.8.3.min.js"></script><script src="http://dundunbook.sinaapp.com/js_css/jquery.query-2.1.7.js"></script><script>window.setInterval(roll, 1000); var cnt = 0;function roll(){if(cnt==0)$(".banner_content").animate({left:"-100%"});else if(cnt==1)$(".banner_content").animate({left:"-200%"});else if(cnt==2)$(".banner_content").animate({left:"-300%"});else if(cnt==3)$(".banner_content").animate({left:"0%"});cnt++;if(cnt>=4)cnt = 0;}</script><style type="text/css">.banner_holder{height:200px;width:100%;overflow:hidden;position:relative;}.banner_content{height:200px;width:400%;position:absolute;}img{float:left;}</style><title>Home Page</title></head><body><div class="banner_holder"><div class="banner_content"><img src="img1.bmp" height="200px" width="25%" id="banner_img1" /><img src="img2.bmp" height="200px" width="25%" id="banner_img2" /><img src="img3.bmp" height="200px" width="25%" id="banner_img3" /><img src="img4.bmp" height="200px" width="25%" id="banner_img4" /></div></div></body></html>
0 0
- banner图片轮转(利用jquery)
- jquery图片滚动轮转
- jquery实现图片轮转
- Jquery打造AdRotator轮转图片
- JQUERY图片轮转的改进版本
- 写了一个jQuery图片轮转插件
- jQuery Mobile图片轮转轮播
- jQuery图片自动轮转动画特效
- jquery.banner.js图片更换
- 今日工作总结:jquery轮转效果的集成与前台页面banner的设计思路总结
- 利用banner实现图片无限轮播,
- 用jQuery实现banner图片切换
- 图片轮转 编写记录(一)
- 图片轮转 编写记录(二)
- Banner(图片轮播)
- banner图片
- 轮转图片显示(JS)
- js实现轮转图片
- 学术休假----求二次方程的根
- three.js 源码注释(八十七)extras/FontUtils.js
- linux查找包装grep脚本
- OpenCV学习篇之二 播放视频
- POJ 3080 Blue Jeans
- banner图片轮转(利用jquery)
- 工作纪要---解决统计差别问题
- iOS-target/action模式,delegate模式
- C++——宏观把控
- 冬令营第一阶段周报--罗双
- LeetCode[Math]: Sqrt(x)
- Junit的各种断言
- 人民日报读书笔记-2015年1月份 国企改革 + 京津冀
- ios-day02(NSBundle的作用、UIImageView和UIButton的区别)