利用jquery实现鼠标划过内容背景滑动切换



35 137 46



特效描述:利用jquery实现 鼠标划过 背景滑动切换,利用jquery实现鼠标划过内容背景滑动切换

代码结构

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>
<script type="text/javascript" src="js/index.js"></script>

3. HTML代码

<br>
<div class="servicesBox">
  <div id="Div35" class="serBox" onclick="serFocus(1)">
    <div class="serBoxOn"></div>
    <div class="pic1 mypng"> <img src="images/3.png"> </div>
    <div class="pic2 mypng"> <img src="images/3-3.png"> </div>
    <div class="txt1"> <span class="tit">开心网</span>
      <p>开心网营销</p>
    </div>
    <div class="txt2"> <a href="http://51qianduan.com" target="_blank" class="a_jump"><span class="tit">开心网</span>
      <p>开心网营销</p>
      </a> </div>
  </div>
  <div class="fgH20"></div>
  <div id="Div36" class="serBox" onclick="serFocus(2)">
    <div class="serBoxOn"></div>
    <div class="pic1 mypng"> <img src="images/1.png"> </div>
    <div class="pic2 mypng"> <img src="images/1-1.png"> </div>
    <div class="txt1"> <span class="tit">人人网</span>
      <p>人人网营销</p>
    </div>
    <div class="txt2"> <a href="http://51qianduan.com" target="_blank" class="a_jump"><span class="tit">人人网</span>
      <p>人人网营销</p>
      </a> </div>
  </div>
  <div class="fgH20"></div>
  <div id="Div37" class="serBox" onclick="serFocus(3)">
    <div class="serBoxOn"></div>
    <div class="pic1 mypng"> <img src="images/2.png"> </div>
    <div class="pic2 mypng"> <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://51qianduan.com" target="_blank" class="a_jump"><span class="tit">QQ空间</span>
      <p>QQ空间营销</p>
      </a> </div>
  </div>
  <div class="fgH20"></div>
  <div id="Div38" class="serBox" onclick="serFocus(3)">
    <div class="serBoxOn"></div>
    <div class="pic1 mypng"> <img src="images/35.png"> </div>
    <div class="pic2 mypng"> <img src="images/35-35.png"> </div>
    <div class="txt1"> <span class="tit">问答营销</span>
      <p>问答投放 锁住潜在客户</p>
    </div>
    <div class="txt2"> <a href="http://51qianduan.com" target="_blank" class="a_jump"><span class="tit">问答营销</span>
      <p>问答投放 锁住潜在客户</p>
      </a> </div>
  </div>
  <div class="fgH20"></div>
  <div id="Div39" class="serBox" onclick="serFocus(3)">
    <div class="serBoxOn"></div>
    <div class="pic1 mypng"> <img src="images/31.png"> </div>
    <div class="pic2 mypng"> <img src="images/31-31.png"> </div>
    <div class="txt1"> <span class="tit">邮件推广</span>
      <p>低成本 商机无限</p>
    </div>
    <div class="txt2"> <a href="http://51qianduan.com" target="_blank" class="a_jump"><span class="tit">邮件推广</span>
      <p>低成本 商机无限</p>
      </a> </div>
  </div>
</div>
</div>
<div style="text-align:center;margin:50px 0; font:normal 14px/24px 'MicroSoft YaHei';">
</div>



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


热门标签: 滚动切换 滚动条切换 滑动选项卡 滑动切换 选项卡切换 选项卡 切换 tab切换 页面切换 选项卡插件 切换插件 滑动手风琴 滑动星星打分 其他 背景切换 大图切换 鼠标滑过 鼠标悬停 跟随鼠标移动

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

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

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