2306/091
jQuery-Slider Plugins
来自http://cssglobe.com/post/3783/jquery-plugin-easy-image-or-content-slider
Learned from http://cssglobe.com/post/3783/jquery-plugin-easy-image-or-content-slider
本地Demo地址:http://nwhy.org/nwhy/jsdemo/slider.html
使用很简单,HTML部分代码如下:
<script type="text/javascript" src="/js/jquery.js"></script>
<script type="text/javascript" src="/js/easySlider.js"></script>
$(document).ready(function(){
$("#slider").easySlider();
});
<div id="slider">
<ul>
<li>content here...</li>
<li>content here...</li>
<li>content here...</li>
...
</ul>
</div>
再来点CSS:
#slider ul, #slider li{
margin:0;
padding:0;
list-style:none;
}
#slider, #slider li{
width:500px;
height:200px;
overflow:hidden;
}
span#prevBtn{}
span#nextBtn{}
还有就是按钮:
<span id="prevId"><a href="javascript:void(0);">Previous</a></span> <span id="nextBtn"><a href="javascript:void(0);">Next</a></span>
本地Demo中写了个背景图,这个反正自由更改~
OK,这个插件就是这样简单,里边的内容可以是div,也可以是li,or 其他你想放的标签,使用愉快,bye~
Some Related Posts
- 2009/05/25 -- jQuery-Timepickr + Slider + Keypad (0)
- 2009/10/22 -- jQuery Plugins-SimpleModal弹窗插件 (0)
- 2009/06/03 -- jQuery-Drop Down Menu Effect With jQuery & CSS (0)
- 2009/04/10 -- jQuery Plugins-jqModal 弹窗插件 (1)
- 2009/03/09 -- jQuery Plugins-ListNav 列表导航插件 (0)
- 2009/01/08 -- jQuery动画-基于each(fn)的小应用 (2)
- 2009/09/23 -- jQuery Plugins-Lazy Load (0)
- 2009/07/14 -- jQuery Plugins-jLook & niceForm (1)
- 2009/07/06 -- WordPress-一些奇怪的错误Some Special Error (1)
- 2009/06/19 -- 介绍下WordPress (0)
Tag: jQuery, Plugins, Slider
Leave a comment
Categories
- AIR+FB+AS3 (157)
- Android (22)
- Demo (71)
- fDEV (3)
- Flash AS2 (65)
- Game (17)
- jQuery (14)
- Others (93)
- PHP (42)
- Wordpress (60)
Recent Comments
- MRFISH says under Flex/AS3/Air参考书籍及小工具真好啊,正好我也在学Flash,不错额
- [...] 接着嘛,是万用数据库查询函数,记住不是query_posts()而是WP_Query()...
- DFdou says under AS3-Caurina 动画类import caurina.transitions.Tweener; import caurin...
- DFdou says under Android-Permission V1.0:jrjr
- DFdou says under AS3-Captcha验证码类@太阴真人, HI,可以提供下具体是第几行报的错么
- 太阴真人 says under AS3-Captcha验证码类1084: 语法错误: rightparen 应在 semicolon 之前。 1084: 语法...
- DFdou says under Air-fWeather Google Weather Api使用例子@soluo, 是这个没错,这个数据的确是乱七八糟的,不是很准确~
- soluo says under Air-fWeather Google Weather Api使用例子博主,您好,请教您一个Google Weather Api的问题: 我用Google Weather...
- Anonymous says under Android-ListView用法:dahan
- DFdou says under Android-一些常用技巧手动调用MEDIA_SCANNER: Intent intent = new Intent(Inte...
Blogroll
Archive
- March 2010 (4)
- February 2010 (13)
- January 2010 (9)
- December 2009 (19)
- November 2009 (23)
- October 2009 (17)
- September 2009 (22)
- August 2009 (13)
- July 2009 (20)
- June 2009 (18)
- May 2009 (18)
- April 2009 (29)
- March 2009 (31)
- February 2009 (46)
- January 2009 (37)
- December 2008 (16)
- November 2008 (12)
- October 2008 (21)
- September 2008 (10)
- August 2008 (12)
- July 2008 (14)
- June 2008 (8)
- May 2008 (11)
June 24th, 2009 - 09:37
Pretty nice post. I just found your site and wanted to say
that I have really enjoyed browsing your blog posts. Any way
I’ll be subscribing to your blog and I hope you post again soon!
[Reply]