jQuery伸展与合拢的Panel演示
来源:互联网 发布:mac电脑不休眠 编辑:程序博客网 时间:2024/05/22 00:08
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery伸展与合拢的Panel演示</title>
<style type="text/css">
*{margin:0;padding:0;}
body { font-size: 13px; line-height: 130%; padding: 60px }
#panel { width: 300px; border: 1px solid #0050D0 }
.head { padding: 5px; background: #96E555; cursor: pointer }
.content { padding: 10px; text-indent: 2em; border-top: 1px solid #0050D0;display:block; }
</style>
<script src="/ajaxjs/jquery1.3.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$("#panel h5.head").toggle(function(){
$(this).next("div.content").slideUp();
},function(){
$(this).next("div.content").slideDown();
})
})
</script>
</head>
<body>
<div id="panel">
<h5 class="head">点击这里</h5>
<div class="content">
展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!
</div>
</div>
<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
</body>
</html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery伸展与合拢的Panel演示</title>
<style type="text/css">
*{margin:0;padding:0;}
body { font-size: 13px; line-height: 130%; padding: 60px }
#panel { width: 300px; border: 1px solid #0050D0 }
.head { padding: 5px; background: #96E555; cursor: pointer }
.content { padding: 10px; text-indent: 2em; border-top: 1px solid #0050D0;display:block; }
</style>
<script src="/ajaxjs/jquery1.3.2.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$("#panel h5.head").toggle(function(){
$(this).next("div.content").slideUp();
},function(){
$(this).next("div.content").slideDown();
})
})
</script>
</head>
<body>
<div id="panel">
<h5 class="head">点击这里</h5>
<div class="content">
展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!展开和收起的内容!
</div>
</div>
<div><A href="http://www.999jiujiu.com/">http://www.999jiujiu.com/</A></div>
</body>
</html>
0 0
- jQuery伸展与合拢的Panel演示
- jquery panel
- jquery panel
- HTML5仿苹果手机的面板合拢折叠效果
- jQuery Mobile panel的相关属性
- java中Pane与Panel的区别
- C#使用DevExpress与panel的加载
- Jquery实现div折叠伸展
- jQuery Combo panel
- jquery easyui panel move
- 伸展树的旋转和伸展操作
- Struts2 json jQuery ajax 的集成配置与使用及 demo 演示源码示范
- jquery-pager的基本使用及与ajax结合使用实战演示
- jQuery Mobile中面板panel的data-*选项
- jquery插件日历效果的演示
- 用jquery实现演示日历的效果
- 图像的傅里叶变换与演示
- 程序员的伸展操
- opencv在Centos下编译及常用资料代码片记录
- Sublime Text 3安装Package Control
- 关于oc定义的一些问题
- leetcode String to Integer (atoi)
- MAC OS 解决R语言locale问题
- jQuery伸展与合拢的Panel演示
- 朴素贝叶斯分类算法的R语言实现
- 备忘
- ns2_aodv的部分代码解读
- 【毕业设计day05】精析代码
- php获取本周的开始日期和结束日期
- C#调用C/C++ dll文件 的简单示例
- hdu 4496 D-City(反向并查集)
- Mac上TFTP服务器的配置和为TP-Link升级固件