分享一款页面视差滚动切换jquery.localscroll插件
内容导读
互联网集市收集整理的这篇技术教程文章主要介绍了分享一款页面视差滚动切换jquery.localscroll插件,小编现在分享给大家,供广大互联网技能从业者学习和参考。文章包含4596字,纯文字阅读大概需要7分钟。
内容图文
今天给大家分享一款页面视差滚动切换jquery.localscroll插件。 滚动鼠标液动条看下页面的切换效果。该插件适用浏览器:IE8、360、FireFox、Chrome、Safari、Opera、傲游、搜狗、世界之窗。效果图如下:
实现的代码。
html代码:
< div class ="pageWidth" id ="box_root" > <!-- 头部导航开始 --> < div id ="nav" > < a href ="index.html" title ="返回引导页" class ="logo_a" >站长素材</a><ul id="menu"><li class="" id="mn_home"><a href="index.html#home">网站首页</a></li><li id="mn_about" class="selected"><a href="index.html#about">站长素材</a></li><li id="mn_news"><a href="index.html#news">新闻资讯</a></li><li id="mn_products" class=""><a href="index.html#products">核心项目</a></li><li id="mn_chanye" class=""><a href="index.html#sector">产业板块</a></li><li id="mn_about" class=""><a href="index.html#famous">名家寄语</a></li><li class="last" id="mn_contact"><a href="index.html#contact">联系我们</a></li></ul></div><div class="top_rim"><a href="index.html#home">回到顶部</a></div><!-- 头部导航结束 --><div id="box_main"><div id="home" style="background-position: 50% -110px;"><div class="sprite1" style="background-position: 50% 550px;"></div><div class="sprite" style="background-position: 50% 0px;"></div><div class="screen"></div></div><div id="about" style="background-position: 50% -110px;"><div class="contents"><div class="about_rim"><div class="columnSpace" id="elem-FrontSpecifies_show01-1367889271850" name="说明页"><!-- 装饰器样式开始 --><div class="border_05"><div class="border_05-topr"><div class="border_05-topl"></div></div><div class="border_05-mid"><div class="borderContent"><div id="FrontSpecifies_show01-1367889271850" class="FrontSpecifies_show01-d3_c1"><div class="comptitle_05"><em><span class="extendLink"><a href="index.html#about_cont" target="_self">更多详情 +</a></span></em></div><div class="describe htmledit"><div class="about_txt"></div></div></div><div class="clearBoth"></div></div></div></div><!-- 装饰器样式结束 --></div></div></div><div class="sprite" style="background-position: 50% 0px;"></div><div class="screen" style="background-position: 50% 550px;"></div></div><div id="about_cont" style="background-position: 50% 0px;"><div class="contents"><div class="about_rim"><p> 关于我们</p></div></div><div class="sprite" style="background-position: 50% 0px;"></div><div class="screen" style="background-position: 50% 550px;"></div><div class="screen1" style="background-position: 50% 110px;"></div></div><div id="news" style="background-position: 50% -110px;"><div class="contents"><div id="box_news"><p> 新闻资讯</p></div></div></div><div id="products" style="background-position: 50% -110px;"><div class="pro_list"><p> 核心项目</p></div><div class="sprite" style="background-position: 50% 0px;"></div><div class="screen" style="background-position: 50% 220px;"></div></div><div id="sector" style="background-position: 50% -110px;"><div class="contents"><div class="sector_img"><p> 产业模块</p></div></div><div class="screen" style="background-position: 50% 550px;"></div><div class="sprite" style="background-position: 50% 0px;"></div></div><div id="famous" style="background-position: 50% -90px;"><div class="contents"><div class="famous_rim"><p> 名家寄语</p></div></div><div class="sprite" style="background-position: 50% 450px;"></div></div><div id="contact"><div class="contents"><div id="box_contact"><div class="columnSpace" id="elem-FrontSpecifies_show01-1368432548167" name="说明页"><div id="FrontSpecifies_show01-1368432548167" class="FrontSpecifies_show01-d3_c1"><div class="describe htmledit"></div></div></div></div></div><div class="sprite" style="background-position: 50% 0px;"></div><div class="screen"></div></div></div></div>
via:http://www.w2bc.com/Article/17400
原文:http://www.cnblogs.com/liaohuolin/p/4232923.html
内容总结
以上是互联网集市为您收集整理的分享一款页面视差滚动切换jquery.localscroll插件全部内容,希望文章能够帮你解决分享一款页面视差滚动切换jquery.localscroll插件所遇到的程序开发问题。 如果觉得互联网集市技术教程内容还不错,欢迎将互联网集市网站推荐给程序员好友。
内容备注
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 gblab@vip.qq.com 举报,一经查实,本站将立刻删除。
内容手机端
扫描二维码推送至手机访问。