<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>最值衣看</title>
<link href="http://www.hc360.com/chat/2014/0527/css/styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<!-- 顶部导航 -->
<div class="navbox">
<div class="nav">
<h2><img src="http://www.hc360.com/chat/2014/0527/images/tt.jpg" width="144" height="44"></h2>
<ul>
<li class="hbg">衣周最看点</li>
<li>衣周最潮搭</li>
<li>衣周最星闻</li>
<li>衣身衣饰</li>
</ul>
</div>
</div>
<div class="mainbox cl">
<p class="btn_left"></p>
<div class="boxc">
<div class="wwws">
<div class="main1_w">
<div class="main1">
<div class="main1_left">
<div class="tu1">
<ul class="ul_width">
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
</ul>
<ol class="hcbg"><li class="hover1"></li><li></li><li></li></ol>
</div>
<div class="tu2">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建猜不到</span></p>
</div>
</div>
<div class="main1_right">
<ul>
<li class="li_1">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
<li class="li_2"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_3"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_4"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_5"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_1 li_6">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
</ul>
</div>
</div>
<div class="main1">
<div class="main1_left">
<div class="tu1_2">
<ul class="ul_width_2">
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
</ul>
<ol class="hcbg_2"><li class="hover1"></li><li></li><li></li></ol>
</div>
<div class="tu2">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建猜不到</span></p>
</div>
</div>
<div class="main1_right">
<ul>
<li class="li_1">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
<li class="li_2"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_3"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_4"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_5"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_1 li_6">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
</ul>
</div>
</div>
<div class="main1">
<div class="main1_left">
<div class="tu1_3">
<ul class="ul_width_3">
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
</ul>
<ol class="hcbg_3"><li class="hover1"></li><li></li><li></li></ol>
</div>
<div class="tu2">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建猜不到</span></p>
</div>
</div>
<div class="main1_right">
<ul>
<li class="li_1">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
<li class="li_2"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_3"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_4"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_5"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_1 li_6">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
</ul>
</div>
</div>
<div class="main1">
<div class="main1_left">
<div class="tu1_4">
<ul class="ul_width_4">
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
<li><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img1.jpg" width="360" height="518"></a></li>
</ul>
<ol class="hcbg_4"><li class="hover1"></li><li></li><li></li></ol>
</div>
<div class="tu2">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建猜不到</span></p>
</div>
</div>
<div class="main1_right">
<ul>
<li class="li_1">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
<li class="li_2"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_3"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_4"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img3.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_5"><a href="#" target="_blank"><img src="http://www.hc360.com/chat/2014/0527/images/img2.jpg" width="254" height="294"></a><p>见巴基斯坦参议院主席</p></li>
<li class="li_1 li_6">
<h3>2014夏季新款</h3>
<p>卧室系列<span>别墅违建拆不倒 业主曾</span></p>
<p class="p_1">产品包装与宣传到底能不能一
口吃成胖子,#2014户外帐篷评选
来告诉你, 确实,天下没有白吃的
午餐,但是确实有......<a href="#" target="_blank">【详细】</a></p>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<p class="btn_right"></p>
</div>
<!-----------footer---------->
<script src="http://www.hc360.com/chat/2014/0527/js/jquery-1.10.2.min.js"></script>
<script src="http://www.hc360.com/chat/2014/0527/js/jsxg.js"></script>
</body>
</html>
.navbox{ padding-top:20px; height:50px; line-height:50px; margin-bottom:10px; border-bottom:3px #E1BE4A solid; width:100%;}
.nav{ width:1144px; margin:0 auto;}
.nav h2{ float:left; width:210px;}
.nav ul{ float:left; width:600px; margin-top:8px;}
.nav ul li{ float:left; width:114px; height:42px; text-align:center; line-height:42px; font-family:"微软雅黑"; font-size:14px; color:#A48109; cursor:pointer;}
.nav ul li.hbg{ background:#E1BE4A; color:#FFF;}
.mainbox{ width:1144px; margin:0 auto; position:relative;}
.boxc{ width:1144px; margin:0 auto; overflow:hidden; position:relative;}
.mainbox .btn_left{ background:url(../images/leftbtn.jpg) no-repeat; width:85px; height:120px; cursor:pointer; position:absolute; left:-100px; top:200px;}
.mainbox .btn_right{ background:url(../images/rightbtn.jpg) no-repeat; width:85px; height:120px; cursor:pointer; position:absolute; right:-100px; top:200px;}
.main1{ width:1144px; height:602px; float:left;}
.wwws{ width:1144px; height:602px; overflow:hidden;}
.main1_left{ float:left; width:360px;}
.main1_right{ float:right; width:776px;}
.tu1{ width:360px; height:518px; position:relative; overflow:hidden;}
.tu1 .ul_width{ width:2000px;}
.tu1 .ul_width li{ float:left; width:360px;}
.tu1 .hcbg{ height:30px; position:absolute; right:20px; bottom:0;}
.tu1 .hcbg li{ background:url(../images/hbg1.png) no-repeat; width:18px; height:18px; float:left; margin-left:10px; cursor:pointer;}
.tu1 .hcbg li.hover1{ background:url(../images/hbg2.png) no-repeat;}
.tu1_2{ width:360px; height:518px; position:relative; overflow:hidden;}
.tu1_2 .ul_width_2{ width:2000px;}
.tu1_2 .ul_width_2 li{ float:left; width:360px;}
.tu1_2 .hcbg_2{ height:30px; position:absolute; right:20px; bottom:0;}
.tu1_2 .hcbg_2 li{ background:url(../images/hbg1.png) no-repeat; width:18px; height:18px; float:left; margin-left:10px; cursor:pointer;}
.tu1_2 .hcbg_2 li.hover1{ background:url(../images/hbg2.png) no-repeat;}
.tu1_3{ width:360px; height:518px; position:relative; overflow:hidden;}
.tu1_3 .ul_width_3{ width:2000px;}
.tu1_3 .ul_width_3 li{ float:left; width:360px;}
.tu1_3 .hcbg_3{ height:30px; position:absolute; right:20px; bottom:0;}
.tu1_3 .hcbg_3 li{ background:url(../images/hbg1.png) no-repeat; width:18px; height:18px; float:left; margin-left:10px; cursor:pointer;}
.tu1_3 .hcbg_3 li.hover1{ background:url(../images/hbg2.png) no-repeat;}
.tu1_4{ width:360px; height:518px; position:relative; overflow:hidden;}
.tu1_4 .ul_width_4{ width:2000px;}
.tu1_4 .ul_width_4 li{ float:left; width:360px;}
.tu1_4 .hcbg_4{ height:30px; position:absolute; right:20px; bottom:0;}
.tu1_4 .hcbg_4 li{ background:url(../images/hbg1.png) no-repeat; width:18px; height:18px; float:left; margin-left:10px; cursor:pointer;}
.tu1_4 .hcbg_4 li.hover1{ background:url(../images/hbg2.png) no-repeat;}
.tu2{ width:360px; height:84px; background:#A09C6D;}
.tu2 h3{ font-size:18px; color:#FFF; font-weight:normal; height:30px; padding:10px 0 10px 20px; line-height:30px; font-family:"微软雅黑";}
.tu2 p{ font-size:16px; color:#FFF; padding-left:20px;}
.tu2 p span{ font-size:12px; padding-left:10px;}
.main1_right ul li{ height:296px; width:255px; float:left;}
.main1_right ul li.li_1{ height:296px; width:255px; background:#C28D97; }
.main1_right ul li.li_1 h3{ font-size:18px; color:#FFF; font-weight:normal; height:30px; padding:50px 0 10px 20px; line-height:30px; font-family:"微软雅黑";}
.main1_right ul li.li_1 p{ font-size:16px; color:#FFF; padding-left:20px;}
.main1_right ul li.li_1 p span{ font-size:12px; padding-left:10px;}
.main1_right ul li.li_1 .p_1{ font-size:12px; padding:0 30px; text-indent:24px; line-height:22px; padding-top:10px;}
.main1_right ul li.li_1 .p_1 a{ text-decoration:none; color:#FFF;}
.main1_right ul li.li_1 .p_1 a:hover{ text-decoration:underline;}
.main1_right ul li.li_2{ height:294px; width:254px; border:1px #C28D97 solid; position:relative;}
.main1_right ul li.li_2 p{ width:254px; height:30px; line-height:30px; text-align:center; color:#FFF; background:#000; opacity:0.8; filter:alpha(opacity=80);-moz-opacity:0.8; position:absolute; left:0; bottom:0;}
.main1_right ul li.li_3{ height:294px; width:254px; border:1px #C28D97 solid; position:relative;}
.main1_right ul li.li_3 p{ width:254px; height:30px; line-height:30px; text-align:center; color:#FFF; background:#000; opacity:0.8; filter:alpha(opacity=80);-moz-opacity:0.8; position:absolute; left:0; bottom:0;}
.main1_right ul li.li_4{ height:294px; width:254px; border:1px #C28D97 solid; position:relative;}
.main1_right ul li.li_4 p{ width:254px; height:30px; line-height:30px; text-align:center; color:#FFF; background:#000; opacity:0.8; filter:alpha(opacity=80);-moz-opacity:0.8; position:absolute; left:0; bottom:0;}
.main1_right ul li.li_5{ height:294px; width:254px; border:1px #C28D97 solid; position:relative;}
.main1_right ul li.li_5 p{ width:254px; height:30px; line-height:30px; text-align:center; color:#FFF; background:#000; opacity:0.8; filter:alpha(opacity=80);-moz-opacity:0.8; position:absolute; left:0; bottom:0;}
.main1_right ul li.li_3{ height:296px; width:255px; border:0 none; margin-left:10px;}
.main1_right ul li.li_4{ height:296px; width:255px; margin-top:10px; border:0 none;}
.main1_right ul li.li_5{ height:294px; width:254px; margin-left:10px; margin-top:10px; border:1px #7D8999 solid;}
.main1_right ul li.li_6{ height:296px; width:255px; background:#7D8999; margin-top:10px; }
.main1_w{ width:6000px;}
$(document).ready(function(){
//banner1
function st(a1,b1,c1,d1,e1){
var ow=a1.width();
var repeat;
var index=0;
var len=a1.length;
//alert(len)
c1.hover(function(){
clearInterval(repeat)
},function(){
repeat=setInterval(function(){
index++;
if(index==len)
index=0;
ht(index)
},3000)
}).trigger("mouseout");
b1.mouseover(function(){
index=b1.index(this);
ht(index)
});
function ht(index){
d1.stop().animate({"marginLeft":-ow*index});
b1.eq(index).addClass(e1).siblings().removeClass(e1);
};
};
st($(".ul_width li"),$(".hcbg li"),$(".tu1"),$(".ul_width"),("hover1"));
st($(".ul_width_2 li"),$(".hcbg_2 li"),$(".tu1_2"),$(".ul_width_2"),("hover1"));
st($(".ul_width_3 li"),$(".hcbg_3 li"),$(".tu1_3"),$(".ul_width_3"),("hover1"));
st($(".ul_width_4 li"),$(".hcbg_4 li"),$(".tu1_4"),$(".ul_width_4"),("hover1"));
//点击效果
var ww1=$(".main1").width();
var li_length1=$(".main1").length;
var index=0;
/* $(".btn_left").click(function(){
$(".main1_w").animate({"marginLeft":-ww1},500,function(){
var firstli1=$( ".main1_w .main1:first" );
firstli1.appendTo( "main1_w" );
$( ".main1_w" ).css({"marginLeft":0});
});
});
$(".btn_right").click(function(){
var lastli1=$( ".main1_w .main1:last" );
lastli1.prependTo( ".main1_w" );
$( ".main1_w" ).css({"marginLeft":-ww1});
$(".main1_w").animate({"marginLeft":0},500);
});*/
$(".nav li").mouseover(function(){
var index=$(this).index();
var width=$('.main1').width();
$( this ).addClass( "hbg" ).siblings().removeClass("hbg");
$( ".main1_w" ).stop().animate({'marginLeft':-width*index},500);
})
//banner
var oWidth=$('.main1').width(),
repeat,
index=0,
len=$('.main1').length;
//console.log(len)
$('.btn_right').click(function(){
index+=1;
if(index>=len){index=0;}
ht(index);
})
$('.btn_left').click(function(){
index-=1;
if(index<0){ index=len-1}
ht(index);
});
function ht(){
$('.main1_w').stop().animate({'marginLeft':-oWidth*index})
$('.nav li').eq(index).addClass('hbg').siblings().removeClass('hbg');
};
});