Jquery 实现banner图滚动效果
2014-09-29 11:02
316 查看
html代码:
View Code
/*广告图片切换*/ #focus{width:340px;height:256px;overflow:hidden;position:relative;z-index:1;} #focus ul{height:400px;position:absolute;} #focus ul li{float:left;width:340px;height:318px;overflow:hidden; position:relative; background:#fff; } #focus ul li p{position:absolute; top:233px; left:10px; font-size:12px; color:#ffffff; z-index:99999} #focus ul li div{position:absolute; overflow:hidden;} #focus .btnBg{position:absolute;width:800px;height:30px;left:0;bottom:0;background:#000;} #focus .btn{position:absolute;width:780px;height:10px;padding:10px 10px;*padding:10px 10px;right:0;bottom:0;text-align:right;} #focus .btn span{display:inline-block;_display:inline;_zoom:1;width:10px;height:10px;_font-size:0;margin-left:5px;cursor:pointer;background:#fff;} #focus .btn span.on{background:#fff;} #focus .preNext{width:45px;height:100px;position:absolute;top:90px;background:url(/content/images/sprite.png) no-repeat 0 0;cursor:pointer;} #focus .pre{left:0;} #focus .next{right:0;background-position:right top;} #focus ul,li{list-style:none;} #focus img{border:0;} #focus ul li{float:left;width:340px;height:256px;overflow:hidden;position:relative;background:#fff;}
View Code
相关文章推荐
- jquery banner广告幻灯片图片轮播切换,模仿实现当当网滚动广告效果
- jquery实现手动图片滚动效果
- jQuery实现浮动层跟随页面滚动效果
- JQuery实现页面随滚动条滚动而动态加载内容的效果
- jquery实现单行滚动效果
- JQuery实现页面随滚动条滚动而动态加载内容的效果
- 用 jQuery 实现页面滚动(Scroll)效果的完美方法
- JavaScript中用Jquery实现左右点击滚动效果
- jQuery向下滚动即时加载内容实现的瀑布流效果
- 不用Margin使用jQuery实现左右滚动效果
- jQuery实现的瀑布流效果, 向下滚动即时加载内容
- Jquery:单行滚动、批量多行滚动、文字图片翻屏滚动效果的实现
- jquery实现返回顶部按钮和scroll滚动功能[带动画效果] 转载
- 在asp.net中使用JQuery的SlideViewer插件实现图片的滚动效果
- JQuery实现页面随滚动条滚动而动态加载内容的效果
- Jquery结合div+css实现文字间断停顿向上滚动效果
- jQuery+CSS实现垂直滚动效果
- jquery实现的视差滚动教程(视差大背景效果)
- jquery实现可控方向的图片滚动效果