<%@ Control Language="C#" AutoEventWireup="true" CodeFile="productall.ascx.cs" Inherits="WebMain_Product_Indexproduct_productall" %>
<%@ Register Src="smaillID/pIDLeft.ascx" TagName="pIDLeft" TagPrefix="uc1" %>
<style type="text/css">
<!--
ul,li{
padding:0;
text-align:center;
}
body{
font:12px "宋体";
text-align:center;
}
ul{ list-style:none;}
/*选项卡1*/
#Tab1{
width:227px;
margin:0px;
padding:0px;
margin:0 auto;}
/*菜单class*/
.Menubox {
width:100%;
background:url(../../images/top_line_topdo.jpg);
height:28px;
line-height:28px;
}
.Menubox ul{
margin:0px;
padding:0px;
}
.Menubox li{
float:left;
display:block;
cursor:pointer;
width:75px;
text-align:center;
color:#949694;
font-weight:bold;
}
.Menubox li.hover{
padding:0px;
background:#fff;
width:75px;
border-left:1px solid #d4d4d4;
border-top:1px solid #d4d4d4;
border-right:1px solid #d4d4d4;
background:url(../../images/topline01.jpg);
color:#739242;
font-weight:bold;
height:27px;
line-height:23px;
background-repeat: repeat-x;
}
.Contentbox{
clear:both;
margin-top:0px;
border:1px solid #d4d4d4;
border-top:none;
height:270px;
text-align:center;
padding-top:8px;
}
-->
</style>
<script>
<!--
/*第一种形式 第二种形式 更换显示样式*/
function setTab(name,cursel,n){
for(i=1;i<=n;i++){
var menu=document.getElementById(name+i);
var con=document.getElementById("con_"+name+"_"+i);
menu.className=i==cursel?"hover":"";
con.style.display=i==cursel?"block":"none";
}
}
//-->
</script>
<div id="Tab1">
<div class="Menubox">
<ul>
<li id="one1" onclick="setTab('one',1,4)"  class="hover">特价</li>
<li id="one2" onclick="setTab('one',2,4)" >热卖</li>
<li id="one3" onclick="setTab('one',3,4)">推荐</li>
</ul>
</div>
<div class="Contentbox">
<div id="con_one_1" class="hover">  
    <uc1:pIDLeft ID="PIDLeft1" runat="server" PStype="0" PCount="12" Pcolumns="3"/>
    &nbsp;</div>
<div id="con_one_2" style="display:none">
    <uc1:pIDLeft ID="PIDLeft2"  runat="server" PStype="1" PCount="12" Pcolumns="3"/>
    &nbsp;</div>
<div id="con_one_3" style="display:none">
    <uc1:pIDLeft ID="PIDLeft3" runat="server" PStype="2" PCount="12" Pcolumns="3"/>
    &nbsp;</div>
</div>
</div>