$(document).ready(function(){
$(".btn-slide").click(function(){
$("#panel").slideToggle("slow");
$(this).toggleClass("active"); return false;
});
});
body {
margin: 0 auto;
padding: 0;
width: 570px;
font: 75%/120% Arial, Helvetica, sans-serif;
}
a:focus {
outline: none;
}
#panel {
background: #754c24;
height: 200px;
display: none;
}
.slide {
margin: 0;
padding: 0;
border-top: solid 4px #422410;
background: url(http://www.webdm.cn/images/20091029/btn-slide.gif) no-repeat center top;
}
.btn-slide {
background: url(http://www.webdm.cn/images/20091029/white-arrow.gif) no-repeat right -50px;
text-align: center;
width: 144px;
height: 31px;
padding: 10px 10px 0 0;
margin: 0 auto;
display: block;
font: bold 120%/100% Arial, Helvetica, sans-serif;
color: #fff;
text-decoration: none;
}
.active {
background-position: right 12px;
}
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
网页代码站 - 最专业的代码下载网站 - 致力为中国站长提供有质量的代码!
看不到效果请您刷新本页面