久久久精品一区ed2k-女人被男人叉到高潮的视频-中文字幕乱码一区久久麻豆樱花-俄罗斯熟妇真实视频

怎么用DIV+CSS實(shí)現(xiàn)仿電商網(wǎng)站導(dǎo)航條效果-創(chuàng)新互聯(lián)

本篇內(nèi)容主要講解“怎么用DIV+CSS實(shí)現(xiàn)仿電商網(wǎng)站導(dǎo)航條效果”,感興趣的朋友不妨來看看。本文介紹的方法操作簡單快捷,實(shí)用性強(qiáng)。下面就讓小編來帶大家學(xué)習(xí)“怎么用DIV+CSS實(shí)現(xiàn)仿電商網(wǎng)站導(dǎo)航條效果”吧!

專注于為中小企業(yè)提供成都網(wǎng)站建設(shè)、做網(wǎng)站服務(wù),電腦端+手機(jī)端+微信端的三站合一,更高效的管理,為中小企業(yè)太平免費(fèi)做網(wǎng)站提供優(yōu)質(zhì)的服務(wù)。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動了數(shù)千家企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實(shí)現(xiàn)規(guī)模擴(kuò)充和轉(zhuǎn)變。

這里演示了DIV+CSS實(shí)現(xiàn)仿電商網(wǎng)站導(dǎo)航條功能代碼,鼠標(biāo)滑過導(dǎo)航條選項(xiàng)即可彈出對應(yīng)的子菜單列表,界面簡潔大方。


運(yùn)行效果截圖如下:

怎么用DIV+CSS實(shí)現(xiàn)仿電商網(wǎng)站導(dǎo)航條效果

在線演示地址如下:

http://demo.jb51.net/js/2015/div-css-f-jd-shop-nav-style-codes/

具體代碼如下:

代碼如下:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<title>京東商城導(dǎo)航條</title>
<style type="text/css">
.my_left_category{
   width:150px;
   font-size:12px;
   font-family:arial,sans-serif;
   letter-spacing:2px;
}
.my_left_category h2{
   background-image:url(images/spring_06.gif);
   height:20px;
   background-repeat:no-repeat;
   font-size:14px;
   font-weight:bold;
   padding-left:15px;
   padding-top:8px;
   margin:0px;
   color:#FFF;
}
.my_left_category .my_left_cat_list{
width:148px;
border-color:#b60134;
border-style:solid;
border-width:0px 1px 1px 1px;
line-height:13.5pt;
}
.my_left_category .my_left_cat_list h3 {
margin:0px;
padding:3px 5px 0px 9px;
}
.my_left_category .my_left_cat_list h3 a {
color:#d6290b;
font-weight:bold;
font-size:14px;
line-height:22px;
}
.my_left_category .my_left_cat_list h3 a:hover {
color:#d6290b;
font-weight:bold;
font-size:14px;
line-height:22px;
}
.my_left_category .h3_cat{
 width:148px;
 height:26px;
 background-image:url(images/my_menubg.gif);
 background-repeat:no-repeat;
 line-height:26px;
 font-weight:normal;
 color:#333333;
 position:relative;
}
.my_left_category .h3_cat_1{
 width:148px;
 height:26px;
 background-image:url(images/my_menubg_1.gif);
 background-repeat:no-repeat;
 line-height:26px;
 font-weight:normal;
 color:#333333;
 position:relative;
}
.my_left_category a{
 font:12px;
 text-decoration:none;
 color:#333333;
}
.my_left_category a:hover{
 text-decoration:underline;
 color:#ff3333;
}
.my_left_category h4{
margin:0px;
padding:0px;
height:26px;
font-size:12px;
font-weight:normal;
display:block;
padding-left:8px;
}
.my_left_category h4 span{color:#999999; width:145px; float:right;}
.my_left_category h4 a{  line-height:26px;}
.my_left_category .h4_cat{
display:none;
width:204px;
position:absolute;
left:123px;
margin-top:-26px;
cursor:auto;
}
.my_left_category .shadow{
position:inherit;
background:url(images/shadow_04.gif) left top;
width:204px;
}
.my_left_category .shadow_border{
position:inherit;
width:200px;
border:1px solid #959595; margin-top:1px;
border-left-width:0px;
background:url(images/shadow_border.gif) no-repeat 0px 21px;
background-color:#ffffff;
margin-bottom:3px
}
.my_left_category .shadow_border ul{margin:0; padding:0; margin-left:15px}
.my_left_category .shadow_border ul li {
list-style:none;
padding-left:10px;
background-image:url(images/my_cat_sub_menu_dot.gif);
background-repeat:no-repeat;
background-position:0px 8px;
float:left;
width:75px;
height:26px;
overflow:hidden;
letter-spacing:0px;
}
.my_left_category .active_cat{ z-index:99;background-position:0 -25px;cursor:pointer;}
.my_left_category .active_cat h4 { font-weight:bold}
.my_left_category .active_cat h4 span{ display:none;}
.my_left_category .active_cat div{display:block;}
</style>
</head>
<body>
<div class="my_left_category">
 <h2>分類導(dǎo)航</h2>
 <div class="my_left_cat_list">
   <h3><a href="#">按網(wǎng)站類別</a></h3>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#">企業(yè)建站</a></h4>
     <div class="h4_cat">
        <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">LOGO設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站廣告</a></li>
            <li><a href="#">推廣</a></li>
            <li><a href="#">建網(wǎng)站</a></li>
            <li><a href="#">網(wǎng)站推廣</a></li>
            <li><a href="#">網(wǎng)站建設(shè)</a></li>
            <li><a href="#">SEO</a></li>
           </ul>
         </div>
        </div>
     </div>    
   </div>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#">韓國男裝</a></h4>
     <div class="h4_cat">
       <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">LOGO設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站廣告</a></li>
            <li><a href="#">推廣</a></li>
            <li><a href="#">建網(wǎng)站</a></li>
            <li><a href="#">網(wǎng)站推廣</a></li>
            <li><a href="#">網(wǎng)站建設(shè)</a></li>
            <li><a href="#">SEO</a></li>
           </ul>
         </div>
       </div>  
     </div>    
   </div>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#">創(chuàng)新互聯(lián)網(wǎng)站建設(shè)公司,</a></h4>
     <div class="h4_cat">
       <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">LOGO設(shè)計(jì)</a></li>
            <li><a href="#">源碼下載</a></li>
            <li><a href="#">新更新</a></li>
            <li><a href="#">下載排行</a></li>
            <li><a href="#">ASP</a></li>
            <li><a href="#">PHP</a></li>
            <li><a href="#">AJAX</a></li>
            <li><a href="#">DELPHI</a></li>
           </ul>
         </div>
       </div>  
     </div>    
   </div>
<!-- again -->
   <h3><a href="#">按品牌選貨</a></h3>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#" >熱銷推薦</a></h4>
     <div class="h4_cat">
        <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">LOGO設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站廣告</a></li>
            <li><a href="#">推廣</a></li>
            <li><a href="#">建網(wǎng)站</a></li>
            <li><a href="#">網(wǎng)站推廣</a></li>
            <li><a href="#">網(wǎng)站建設(shè)</a></li>
            <li><a href="#">SEO</a></li>
           </ul>
         </div>
        </div>
     </div>    
   </div>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#">網(wǎng)站建設(shè)</a></h4>
     <div class="h4_cat">
       <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">LOGO設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站設(shè)計(jì)</a></li>
            <li><a href="#">推廣</a></li>
            <li><a href="#">建網(wǎng)站</a></li>
            <li><a href="#">網(wǎng)站推廣</a></li>
            <li><a href="#">推廣</a></li>
            <li><a href="#">LOGO設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站廣告</a></li>
            <li><a href="#">推廣</a></li>
            <li><a href="#">建網(wǎng)站</a></li>
            <li><a href="#">網(wǎng)站推廣</a></li>
            <li><a href="#">網(wǎng)站建設(shè)</a></li>
            <li><a href="#">LOGO設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站設(shè)計(jì)</a></li>
            <li><a href="#">網(wǎng)站建設(shè)</a></li>
            <li><a href="#">SEO</a></li>
           </ul>
         </div>
       </div>  
     </div>    
   </div>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#">網(wǎng)站程序</a></h4>
     <div class="h4_cat">
       <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">PHP</a></li>
            <li><a href="#">ASP</a></li>
            <li><a href="#">JSP</a></li>
            <li><a href="#">ASP.Net</a></li>
           </ul>
         </div>
       </div>  
     </div>    
   </div>
   <div class="h3_cat_1" onmouseover="this.className='h3_cat_1 active_cat'" onmouseout="this.className='h3_cat_1'">
     <h4><a href="#">其他網(wǎng)站</a></h4>
   </div>
 <!-- again -->
   <h3><a href="#">按價格選貨</a></h3>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#">低端價位</a></h4>
     <div class="h4_cat">
        <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">50元以下</a></li>
            <li><a href="#">50-100元</a></li>
           </ul>
         </div>
        </div>
     </div>    
   </div>
   <div class="h3_cat" onmouseover="this.className='h3_cat active_cat'" onmouseout="this.className='h3_cat'">
     <h4><a href="#">中高端價位</a></h4>
     <div class="h4_cat">
       <div class="shadow">
         <div class="shadow_border">
           <ul>
            <li><a href="#">100-150元</a></li>
            <li><a href="#">150-200元</a></li>
            <li><a href="#">200-300元</a></li>
            <li><a href="#">300元以上</a></li>
            </ul>
         </div>
       </div>  
     </div>    
   </div>
     <!-- again -->
   <h3><a href="#">超值特價區(qū)</a></h3>
   <h3><a href="#">現(xiàn)貨區(qū)</a></h3>
<!--測試復(fù)制end-->    
</div>
</div>
</body>
</html>

到此,相信大家對“怎么用DIV+CSS實(shí)現(xiàn)仿電商網(wǎng)站導(dǎo)航條效果”有了更深的了解,不妨來實(shí)際操作一番吧!這里是創(chuàng)新互聯(lián)建站,更多相關(guān)內(nèi)容可以進(jìn)入相關(guān)頻道進(jìn)行查詢,關(guān)注我們,繼續(xù)學(xué)習(xí)!

網(wǎng)頁名稱:怎么用DIV+CSS實(shí)現(xiàn)仿電商網(wǎng)站導(dǎo)航條效果-創(chuàng)新互聯(lián)
文章源于:http://sd-ha.com/article16/shjgg.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供Google、面包屑導(dǎo)航、網(wǎng)站策劃網(wǎng)站內(nèi)鏈、云服務(wù)器網(wǎng)站收錄

廣告

聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請盡快告知,我們將會在第一時間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場,如需處理請聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時需注明來源: 創(chuàng)新互聯(lián)

成都seo排名網(wǎng)站優(yōu)化