jquery折叠效果
jquery折叠效果,图片折叠收缩,效果非常棒!
代码打包下载:jquery折叠效果
效果图:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=gb2312" />
<title>jquery折叠效果</title>
<style>
* {margin:0;padding:0;}
#box {margin:20px auto;width:700px;height:300px;}
#box .item {height:300px;width:100px;float:left;cursor:pointer;}
</style>
<script src="http://libs.baidu.com/jquery/1.9.0/jquery.js"></script>
<script>
$(function(){
$("#box .item").mouseover(function(){
$(this).siblings().stop().animate({width:'100px'});
$(this).stop().animate({width:'400px'});
});
});
</script>
</head>
<body>
<div id="box">
<div class="item" style="width:400px;background:url(http://www.120muban.com/data1/20140902/1.jpg) no-repeat"></div>
<div class="item" style="background:url(http://www.120muban.com/data1/20140902/2.jpg) no-repeat"></div>
<div class="item" style="background:url(http://www.120muban.com/data1/20140902/3.jpg) no-repeat"></div>
<div class="item" style="background:url(http://www.120muban.com/data1/20140902/4.jpg) no-repeat"></div>
<!--<div class="item" style="width:400px;background:url(http://www.120muban.com/data1/20140902/1.jpg) no-repeat right top;"></div>
<div class="item" style="background:url(http://www.120muban.com/data1/20140902/2.jpg) no-repeat right top;"></div>
<div class="item" style="background:url(http://www.120muban.com/data1/20140902/3.jpg) no-repeat right top;"></div>
<div class="item" style="background:url(http://www.120muban.com/data1/20140902/4.jpg) no-repeat right top;"></div>-->
</div>
</body>
</html>
相关文章
- 医疗网站常用的左右滑动Banner效果_jquery插件
医疗网站常用的左右滑动Banner效果_jquery插件,使用简单。 在线演示 使用方法: 1.在网页中引入一下代码: 复制代码 代码如下: link href=css/slide.css rel=stylesheet type=text/css / script type=text/javascript src=js/jquery.js/script script type=
- Jquery幻灯片特效jquery.KinSlideshow-1.1.js
KinSlideshow无缝滑动幻灯片jquery特效代码Jquery幻灯片特效jquery.KinSlideshow-1.1.js 兼容IE6/IE7/IE8/IE9,FireFox,Chrome*,Opera的 jQuery. KinSlideshow幻灯片插件,功能很多 ,基本能满足你在网页上使用幻灯片(焦点图)效果。 演示页面: 演示一 演示二
- jquery折叠效果
jquery折叠效果,图片折叠收缩,效果非常棒! 代码打包下载: jquery折叠效果 效果图:
- jQuery集合多种过渡效果幻灯片插件jQuery Nivo Slider v2.5.1
好吧一直有人抱怨js版本的焦点图过渡效果太单调,今天介绍的这款jQuery插件Nivo Slider,除了一般该有的参数设置外,最大的亮点就是其集成了16种(v2.5.1)过渡效果 ,再加上对CSS的调整,效果相信已经可以和很多Flash版本的焦点图相媲美了 插件同时还支持缩略
- jQuery日期选择器插件jquery.date_input.js
官网: http://jonathanleighton.com/projects/date-input/ 下载: http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js http://github.com/jonleighton/date_input/raw/master/jquery.date_input.js http://github.com/jonleighton/date_inpu
随机推荐
- 医疗网站常用的左右滑动Banner效果_jquery插件
医疗网站常用的左右滑动Banner效果_jquery插件,使用简单。 在线演示 使用方法: 1.在网页中引入一下代码: 复制代码 代码如下: link href=css/slide.css rel=stylesheet type=text/css / script type=text/javascript src=js/jquery.js/script script type=
- Jquery幻灯片特效jquery.KinSlideshow-1.1.js
KinSlideshow无缝滑动幻灯片jquery特效代码Jquery幻灯片特效jquery.KinSlideshow-1.1.js 兼容IE6/IE7/IE8/IE9,FireFox,Chrome*,Opera的 jQuery. KinSlideshow幻灯片插件,功能很多 ,基本能满足你在网页上使用幻灯片(焦点图)效果。 演示页面: 演示一 演示二
- jquery折叠效果
jquery折叠效果,图片折叠收缩,效果非常棒! 代码打包下载: jquery折叠效果 效果图:
- jQuery集合多种过渡效果幻灯片插件jQuery Nivo Slider v2.5.1
好吧一直有人抱怨js版本的焦点图过渡效果太单调,今天介绍的这款jQuery插件Nivo Slider,除了一般该有的参数设置外,最大的亮点就是其集成了16种(v2.5.1)过渡效果 ,再加上对CSS的调整,效果相信已经可以和很多Flash版本的焦点图相媲美了 插件同时还支持缩略
- jQuery日期选择器插件jquery.date_input.js
官网: http://jonathanleighton.com/projects/date-input/ 下载: http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/jquery.min.js http://github.com/jonleighton/date_input/raw/master/jquery.date_input.js http://github.com/jonleighton/date_inpu