注册 登录 充值会员 退出
网站、APP、小程序等定制开发,联系QQ 1206995177 毕业设计 java源码 PHP源码

充值

jQuery选项卡标签控制图片滚动切换代码

作者/代码整理:  (源码已亲测,不会安装的可以向QQ1915635791要安装视频教程) 发布日期:2024-01-15
jQuery选项卡标签控制图片滚动切换代码
这是一款模拟手机屏幕图片滚屏交互切换效果的jQuery选项卡标签控制图片滚动切换代码,可以用来展示app或手机微信网站界面,其他用处可以发挥你的想象。


js代码

<script type="text/javascript">
    $(document).ready(function () {
        $(".xcx_dowhat_list ul li").hover(function () {
            $(".xcx_dowhat_list ul li").removeClass("current");
            $i = $(this).index();
            $(this).addClass("current");
            top1 = -$i * 364;
            $(".xcx_phone_main ul").stop(true, false).animate({"top": top1});
        });
    });
</script>