利用Banner实现焦点图带导航菜单代码



74 292 98



特效描述:利用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">&#xe665;</i>
			</a>
		</div>
		<div class="menu-item">
			<a href="">
				<span>电脑</span>
				<i class="icon">&#xe665;</i>
			</a>
		</div>
		<div class="menu-item">
			<a href="">
				<span>家用电器</span>
				<i class="icon">&#xe665;</i>
			</a>
		</div>
		<div class="menu-item">
			<a href="">
				<span>家具</span>
				<i class="icon">&#xe665;</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 prev" id="prev"></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>



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滚动切换 滑动选项卡切换 flash焦点图 选项卡切换 滑动手风琴 切换按钮 form表单 焦点图幻灯片 导航切换 图片轮播 按钮控制

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到