jquery图片轮播-插件
更新内容:
1. 页面结构和css样式必定类似下边放置
2. 点击左右按钮,实现左右滑动。
3. 这一般用于多个图片轮播使用,简化并优化代码.
若因不同需求,均可自行将插件scrollimgplus.js进行相应的改造。
使用方法就不详述了, 请参见源码及相关注释:查看Demo
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>基本材料</title>
<style>
*{margin: ; padding: ;}
body{
font-family: '微软雅黑';
font-size:12px;
color: #;
line-height: 1.5;
}
.clear {zoom:;}
.clear:after {content:""; display:block; height:; visibility:visible; clear:both;} .abtn{
width:11px;
height:17px;
}
.aleft{
background:url(theme_3/img/CL/left.png) no-repeat ;
position:absolute;
left:;
top:65px;
}
.aright{
background:url(theme_3/img/CL/right.png) no-repeat ;
position:absolute;
right:;
top:65px;
}
.options{
width: %;
margin: % auto;
}
#slide_2{
width:816px;
position:relative;
margin:10px 10px;
padding-right:16px;
}
.imglist_1{
width:816px;
height:200px;
overflow:hidden;
}
.imglist li{
float:left;
width:120px;
margin-left:16px;
display:inline;
position:relative;
}
.imglist li img{
width:120px;
height:159px;
}
.imglist li p{
font-size:12px;
text-align:center;
margin:;
line-height: 10px;
}
</style>
</head> <body>
<div class="options jc_pic clear" id="slide_2">
<a id="jc_left" class="abtn aleft" href="#left" title="左移"></a>
<div class="imglist_1">
<ul id="jc_picUl" class="imglist clear">
<li>
<img alt="" src="../theme_3/img/CL/example/u910.png">
<p>检测封面</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u912.png">
<p>检测页1</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u916.jpg">
<p>检测页2</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u910.png">
<p>检测封面</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u912.png">
<p>检测页3</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u916.jpg">
<p>检测页4</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u910.png">
<p>检测页5</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u912.png">
<p>检测页6</p>
</li>
<li>
<img alt="" src="../theme_3/img/CL/example/u916.jpg">
<p>检测页7</p>
</li> </ul>
</div>
<a id="jc_right" class="abtn aright" href="#right" title="右移"></a>
</div>
</div> <script type="text/javascript" src="theme_3/js/jquery-1.8.3.min.js"></script>
<script src="theme_3/js/addScrolljs.js"></script>
<script>
$(function(){
doAddscroll($("#slide_2"), , ); })
</script> </body> </html>
jquery图片轮播-插件的更多相关文章
- 12款经典的白富美型—jquery图片轮播插件—前端开发必备
图片轮播是网站中的常用功能,用于在有限的网页空间内展示一组产品图片或者照片,同时还有非常吸引人的动画效果.本文向大家推荐12款实用的 jQuery 图片轮播效果插件,帮助你在你的项目中加入一些效果精美 ...
- Nivo Slider - 世界上最棒的 jQuery 图片轮播插件
Nivo Slider 号称世界上最棒的图片轮播插件,有独立的 jQuery 插件和 WordPress 插件两个版本.目前下载量已经突破 1,800,000 次!jQuery 独立版本的插件主要有如 ...
- jquery图片轮播插件slideBox
效果预览: 源代码下载: jQuery图片轮播(焦点图)插件jquery.slideBox 特点:兼容IE6+,Chrome,Firefox,Opera,safari,可左右,可上下,可快可慢,可指定 ...
- 面板支持单个,多个元素的jQuery图片轮播插件
一.先附上demo <!doctype html> <html> <head> <meta charset="utf-8"> < ...
- Javascript和jQuery WordPress 图片轮播插件, 内容滚动插件,前后切换幻灯片形式显示
用于在有限的网页空间内展示一组产品图片或者照片,同时还有非常吸引人的动画效果.本文向大家推荐12款实用的 jQuery 图片轮播效果插件,帮助你在你的项目中加入一些效果精美的图片轮播效果,希望这些插件 ...
- PgwSlideshow-基于Jquery的图片轮播插件
0 PgwSlideshow简介 PgwSlideshow是一款基于Jquery的图片轮播插件,基本布局分为上下结构,上方为大图轮播区域,用户可自定义图片轮播切换的间隔时间,也可以通过单击左右方向按键 ...
- JQuery插件之图片轮播插件–slideBox
来源:http://www.ido321.com/852.html 今天偶然发现了一个比较好用的图片轮播插件—slideBox 先看看效果:http://slidebox.sinaapp.com/ 代 ...
- jQuery.YesShow - 图片轮播插件(带图片放大功能)
jQuery.YesShow - 图片轮播插件(带图片放大功能) 使用简单,原文件只要这样就可以了:<div id="yes"> <ul> ...
- 图片轮播插件-carouFredSel
carouFredSel图片轮播插件基于Jquery,比较常规的轮播插件,支持滚轮及键盘左右按键,加入其它插件可实现更加复杂的特效. 主页地址:http://caroufredsel.dev7stud ...
随机推荐
- 十四、mysql 分区之 HASH && KEY
.hash分区 PS::个人觉得HASH分区很好很强大,简单确分布极其均匀 创建实例: CREATE TABLE HASH_EMP ( tid int, tname ) ) PARTITION ; 将 ...
- 操作数据(insert、update、delete)
插入数据 使用Insert Into 插入 if(exists(select * from sys.databases where name = 'webDB')) drop database web ...
- Hibernate从入门到精通(三)Hibernate配置文件
在上次的博文Hibernate从入门到精通(二)Hibernate实例演示我们已经通过一个实例的演示对Hibernate的基本使用有了一个简单的认识,这里我们在此简单回顾一下Hibernate框架的使 ...
- 1014: [JSOI2008]火星人prefix - BZOJ
Description 火星人最近研究了一种操作:求一个字串两个后缀的公共前缀.比方说,有这样一个字符串:madamimadam,我们将这个字符串的各个字符予以标号:序号: 1 2 3 4 5 6 7 ...
- 4.2 spring-import 标签的解析;
对于spring配置文件的编写,我想,对于经历过庞大项目的人,都有那种恐惧的心理,太多的配置文件.不过,分模块都是大多数人能想到的方法,但是,怎么分模块,那就是仁者见仁,智者见智了.我的策略是使用im ...
- hdu 1176
简单DP 类似于在一个矩形中求最长路径 /************************************************************************* > ...
- linux下执行 ls,cat等一些命令报出 -bash: /bin/cat: Cannot allocate memory 有没解决的方法
环境变量配置出错了cd -- 进入用户目录vim .bash_profile删除以前PATH这一行,把下面的粘帖进去PATH=$PATH:$HOME/bin:/root:/root/snapshot/ ...
- Android 如何切换到 Transform API?
摘要: 如果你的 Android 构建中涉及到字节码插装(bytecode instrumentation),或者应用中提供了进行插装的插件,并希望它能支持 Instant Run,那么你必须切换到 ...
- 区分JS中的undefined,null,"",0和false
在程序语言中定义的各种各样的数据类型中,我们都会为其定义一个"空值"或"假值",比如对象类型的空值null,.NET Framework中数据库 字段的空值DB ...
- 1028-Digital Roots
描述 The digital root of a positive integer is found by summing the digits of the integer. If the resu ...