您的位置:首页 > Web前端 > JQuery

js、jquery图片动画、动态切换示例代码

2014-06-03 11:26 771 查看

<style type="text/css">
#banner
{
padding: 5px;
position: relative;
width: 968px;
height: 293px; /*border: 1px solid #666;*/
overflow: hidden;
font-size: 16px;
}
#banner_list img
{
border: 0px;
}
#banner_bg
{
margin-bottom: 5px;
position: absolute;
bottom: 0;
background-color: #000;
height: 30px;
filter: Alpha(Opacity=30);
opacity: 0.3;
z-index: 1000;
cursor: pointer;
width: 968px;
}
#banner_info
{
position: absolute;
bottom: 4px;
left: 0px;
height: 22px;
color: #fff;
z-index: 1001;
cursor: pointer;
}
#banner_text
{
position: absolute;
width: 120px;
z-index: 1002;
right: 3px;
bottom: 3px;
}
#banner ul
{
position: absolute;
list-style-type: none;
filter: Alpha(Opacity=80);
opacity: 0.8;
z-index: 1002;
margin: 0;
padding: 0;
bottom: 10px;
right: 5px;
height: 20px;
}
#banner ul li
{
padding: 0 8px;
line-height: 18px;
float: left;
display: block;
color: #FFF;
border: #e5eaff 1px solid;
background-color: #6f4f67;
cursor: pointer;
margin: 0;
font-size: 16px;
}
#banner_list a
{
/* position: absolute;*/
width: 968px;
height: 293px;
margin: 0px;
padding: 0px;
}
#banner_list
{
margin: 0px;
padding: 0px;
width: 968px;
height: 293px;
border: #e7e7e7 1px solid;
}
</style>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息