特效描述:利用Banner实现 焦点图 带导航菜单 代码,利用Banner实现焦点图带导航菜单代码

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/csss.css" />

2. 引入JS

<script src="js/jsss.js"></script>

3. HTML代码

<div class="main" id="main">
<div class="menu-box">
</div>
<!–子–>
<div class="sub-menu hide" id="sub-menu">
<!–手机–>
<div class="inner-box ">
<div class="sub-inner-box">
<div class="tittle">手机、配件</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
</div>
</div>
<!–电脑–>
<div class="inner-box">
<div class="sub-inner-box">
<div class="tittle">电脑</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
</div>
</div>
<!–电器–>
<div class="inner-box">
<div class="sub-inner-box">
<div class="tittle">电器</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
</div>
</div>
<!–家具–>
<div class="inner-box">
<div class="sub-inner-box">
<div class="tittle">家具</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
<div class="sub-row">
<span class="bold mr10">手机通讯:</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
<span class="ml10 mr10">/</span>
<a href="#">手机</a>
</div>
</div>
</div>
</div>
<!–主–>
<div class="menu-contern" id="menu-contern">
<div class="menu-item">
<a href="">
<span>手机、配件</span>
<i class="icon"></i>
</a>
</div>
<div class="menu-item">
<a href="">
<span>电脑</span>
<i class="icon"></i>
</a>
</div>
<div class="menu-item">
<a href="">
<span>家用电器</span>
<i class="icon"></i>
</a>
</div>
<div class="menu-item">
<a href="">
<span>家具</span>
<i class="icon"></i>
</a>
</div>
</div>
<!–图片轮播–>
<div class="banner" id="banner">
<a href="">
<div class="banner-slide slide1 slide_active"></div>
</a>
<a href="">
<div class="banner-slide slide2"></div>
</a>
<a href="">
<div class="banner-slide slide3"></div>
</a>
</div>
<!–上下按钮–>
<a href="javascript:void(0)" class="button pv" id="pv"></a>
<a href="javascript:void(0)" class="button next" id="next"></a>
<!–圆点–>
<div class="dots" id="dots">
<span class="active"></span>
<span></span>
<span></span>
</div>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px ‘MicroSoft YaHei’;color:#ffffff">
</div>

下载地址

立即下载

1.《banner轮播代码 焦点图带导航菜单代码》援引自互联网,旨在传递更多网络信息知识,仅代表作者本人观点,与本网站无关,侵删请联系页脚下方联系方式。

2.《banner轮播代码 焦点图带导航菜单代码》仅供读者参考,本网站未对该内容进行证实,对其原创性、真实性、完整性、及时性不作任何保证。

3.文章转载时请保留本站内容来源地址,https://www.cxvn.com/code/focus/360.html