jQuery仿天猫京东商城楼层滚动跳转源代码下载

jQuery仿天猫京东商城楼层滚动跳转源代码下载

免费

更新时间:2020-01-17

所属分类:PHP源码

评论回复:0

 

https://69shenlan-img.69shenlan.com//

一款购物商城常用的jQuery仿天猫京东商城楼层滚动跳转代码,点击楼层菜单跳转定位到指定位置,右下角还有返回顶部按钮。


js代码


<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/floor.js"></script>
<script type="text/javascript">
    /*
     totop  //返回顶部按钮
     fixedevery   // 左侧固定导航的每一项
     louceng  //模块的每一项
     header   //头部
     */
    $(function(){
        var obj = new floor('.totop','.fixedmeau>li','.louceng_box>.louceng','.header_box');
        obj.init()
    })

</script>0%4]~5Y@)R90TIZ0RK7]79T.png

下载地址