jquery hover图标导航鼠标划过图标背景滑动切换效果



135 538 180



特效描述:滑动切换 图标导航 图标背景切换,

代码结构

1. 引入CSS

<link href="css/style.css" rel="stylesheet" type="text/css">

2. 引入JS

<script src="js/jquery-1_002.js" type="text/javascript"></script>

3. HTML代码

<div class="servicesBox">
	<div class="serBox">
		<div class="serBoxOn"></div>
		<div class="pic1"> <img src="images/3.png"> </div>
		<div class="pic2"> <img src="images/3-3.png"> </div>
		<div class="txt1"> <span class="tit">开心网</span><p>开心网营销</p></div>
		<div class="txt2"><a href="http://www.17sucai.com" target="_blank" class="a_jump"><span class="tit">开心网</span><p>开心网营销</p></a></div>
	</div>
	<div class="serBox">
		<div class="serBoxOn"></div>
		<div class="pic1"> <img src="images/1.png"> </div>
		<div class="pic2"> <img src="images/1-1.png"> </div>
		<div class="txt1"> <span class="tit">人人网</span><p>人人网营销</p></div>
		<div class="txt2"> <a href="http://www.17sucai.com" target="_blank" class="a_jump"><span class="tit">人人网</span><p>人人网营销</p></a> </div>
	</div>
	<div class="serBox">
		<div class="serBoxOn"></div>
		<div class="pic1"> <img src="images/2.png"> </div>
		<div class="pic2"> <img src="images/2-2.png"> </div>
		<div class="txt1"> <span class="tit">QQ空间</span><p>QQ空间营销</p></div>
		<div class="txt2"> <a href="http://www.17sucai.com" target="_blank" class="a_jump"><span class="tit">QQ空间</span><p>QQ空间营销</p></a> </div>
	</div>
	<div class="serBox">
		<div class="serBoxOn"></div>
		<div class="pic1"> <img src="images/35.png"> </div>
		<div class="pic2"> <img src="images/35-35.png"> </div>
		<div class="txt1"> <span class="tit">问答营销</span><p>问答投放 锁住潜在客户</p></div>
		<div class="txt2"> <a href="http://www.17sucai.com" target="_blank" class="a_jump"><span class="tit">问答营销</span><p>问答投放 锁住潜在客户</p></a> </div>
	</div>
	<div class="serBox">
		<div class="serBoxOn"></div>
		<div class="pic1"> <img src="images/31.png"> </div>
		<div class="pic2"> <img src="images/31-31.png"> </div>
		<div class="txt1"> <span class="tit">邮件推广</span><p>低成本 商机无限</p></div>
		<div class="txt2"> <a href="http://www.17sucai.com" target="_blank" class="a_jump"><span class="tit">邮件推广</span><p>低成本 商机无限</p></a> </div>
	</div>
</div>
<script type="text/javascript">
$(".serBox").hover(function () {
	 $(this).children().stop(false,true);
	 $(this).children(".serBoxOn").fadeIn("slow");
     $(this).children(".pic1").animate({right: -110},400);
     $(this).children(".pic2").animate({left: 41},400);
     $(this).children(".txt1").animate({left: -240},400);
     $(this).children(".txt2").animate({right: 0},400);	
},function () {
	 $(this).children().stop(false,true);
	 $(this).children(".serBoxOn").fadeOut("slow");
	 $(this).children(".pic1").animate({right:41},400);
     $(this).children(".pic2").animate({left: -110},400);
     $(this).children(".txt1").animate({left: 0},400);
     $(this).children(".txt2").animate({right: -240},400);	
});
</script>



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


热门标签: flash导航菜单 flash导航条 flash导航 flash菜单 flash下拉菜单 flash下拉导航菜单 h5动画导航 h5动画菜单 html5动画导航 html5动画菜单 收缩菜单 收缩导航 滚动导航菜单 滚动菜单 滚动导航 右键菜单 滑动导航菜单 滑动导航 滑动菜单 导航切换 菜单切换 浮动菜单 浮动导航 滑动 滑块 滑动门 触屏滑动 滑动插件 滑块插件 滑动选项卡 滑动切换 滚动切换 滚动条切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 导航菜单 导航条 菜单栏 导航栏 分类导航 响应式导航条 响应式导航 图片滑动 图片滑块 图标导航 图标菜单 背景切换 大图切换

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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