jQuery快速高效制作网页第五章上机4

该篇博客通过jQuery展示了如何创建一个具有展开/收起效果的交互式网页,内容涉及人身保险相关的四个主题。用户悬停在标题上时,背景颜色变化;点击标题,对应的详细内容以动画形式显示或隐藏。
摘要由CSDN通过智能技术生成
<!DOCTYPE html>
<html>
  <head>
    <title>shangji4.html</title>
   <script type="text/javascript" src="js/jquery-1.11.1.js"></script>
  
    <style type="text/css" >
.one{ 
	width:600px;
	font-size:12px;
}
.one .top{
	background-color:#fff; 
	height:33px;
	line-height:33px;
	width:700px;
	padding-left:28px;
	color:#168750;
	font-weight:bold;
	margin-top:10px;
}
.iocn{
	display:block; 
	width:14px;
	height:14px;
	background-image:url(images/+.jpg); 
	background-repeat:no-repeat; 
	float:left;
	margin:10px 0px 0px 3px;
	padding-right:10px;
}
.one  span.jian{
	background-image:url(images/-.jpg);
	 
}
.one  span.jia{
	background-image:url(images/+.jpg);
	 
}
 
.one  div.bgreen{ 
	background-image:url(images/bg.jpg); 
}
div.content{
	display:none;
	padding:5px;
	width:716px;
	border:1px solid #D9EFED;
}
</style>
<script type="text/javascript">
  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值