jQuery实现手机竖直手风琴效果

2016-05-09 20:39
分类:编程  AJAX  
作者:roucheng

效果http://hovertree.com/texiao/jquery/65/

效果图:

 

手机扫描二维码查看效果


代码:

<!doctype html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>jQuery扁平UI设计垂直手风琴特效 - 何问起</title><base target="_blank" />

<link rel="stylesheet" type="text/css" href="http://hovertree.com/texiao/jquery/65/css/normalize.css" />
<link rel="stylesheet" type="text/css" href="http://hovertree.com/texiao/jquery/65/css/demo.css">

<!--必要样式-->
<link rel="stylesheet" href="http://hovertree.com/texiao/jquery/65/css/style.css">

</head>
<body>

<div class="accordion">
<div class="item">
<img src="http://hovertree.com/texiao/jquery/65/img/Location-Pin.png" alt="">
<h3>Location</h3>
</div>
<p>您正在何问起特效库。<a href="http://hovertree.com/">首页</a> - <a href="http://hovertree.com/texiao/">特效库</a> - <a href="http://hovertree.com/texiao/jquery/65/">手风琴</a></p>
<div class="item">
<img src="http://hovertree.com/texiao/jquery/65/img/Headphones.png" alt="">
<h3>Music</h3>
</div>
<p>好听音乐。<audio controls="controls" src="http://cms.hovertree.com/hovertreesound/hwqxnl.mp3"></audio></p>
<div class="item">
<img src="http://hovertree.com/texiao/jquery/65/img/Lightbulb.png" alt="">
<h3>Notes</h3>
</div>
<p>受到网店的影响,<a href="http://hovertree.com/h/bjaf/6sm1esjw.htm">服装店</a>的生意逐渐有所下降,老板找何问起去谈,大概是准备跟上网购潮流,让何问起准备一下, 要在网上开网店,要为服装店建立网站。</p>
<div class="item">
<img src="http://hovertree.com/texiao/jquery/65/img/Bookmarks.png" alt="">
<h3>Books</h3>
</div>
<p>电子书:<br /><a href="http://hovertree.com/h/bjaf/246k8ygw.htm">http://hovertree.com/h/bjaf/246k8ygw.htm</a> 
<br /><a href="http://hovertree.com/h/bjaf/dianzishu.htm">电子书特效</a></p>
<div class="item">
<img src="http://hovertree.com/texiao/jquery/65/img/Lightning-Bolt.png" alt="">
<h3>Tendances</h3>
</div>
<p>燃烧吧 何问起 <a href="http://hovertree.com/h/bjaf/xmrvjvng.htm">看看</a></p>
</div>
<div class="hovertreeinfo"><a href="http://hovertree.com/h/bjaf/vk9yjrpm.htm">原文</a> <a href="http://hovertree.com">首页</a> <a href="http://hovertree.com/texiao/">特效</a></div>
<script src="http://down.hovertree.com/jquery/jquery-1.12.3.min.js" type="text/javascript"></script>
<script type="text/javascript">
(function ($) {
'use strict';
$('.item').on("click", function () {
$(this).next().slideToggle(100);
$('p').not($(this).next()).slideUp('fast');
});
}(jQuery));
</script>

</body>
</html>

转自:http://hovertree.com/h/bjaf/vk9yjrpm.htm

特效:http://www.cnblogs.com/roucheng/p/texiao.html

好文要顶 收藏该文 我要举报
如果您觉得本文对你有用,不妨帮忙点个赞,或者在评论里给我一句赞美,小小成就都是今后继续为大家编写优质文章的动力!
上一篇:Bootstrip 的select的数据绑定问题
下一篇:基于Jquery的banner轮播插件,简单粗暴

一起悦读网    Copyright © 2016    浙ICP备11048508号