为了账号安全,请及时绑定邮箱和手机立即绑定

TypeError: Move must be initialized with element or selector at new Move (move.min.js:1)

move.js无法使用

<script src="js/move.js"></script>
<script src="js/move.min.js"></script>
afterLoad: function(origin, destination, direction){
    //section 2
    if(destination.index == 1){
        move('.section1 p').scale(1.5).end();
        document.querySelector('#section2').querySelector('img').style.left = 0 + 'px';
        document.querySelector('#section2').querySelector('p').style.opacity = 1;
    }

    //back to original state
    else if(origin && origin.index == 1){
        // document.querySelector('#section2').querySelector('img').style.left = 130 + '%';
        // document.querySelector('#section2').querySelector('p').style.opacity = 0;
    }

}


正在回答

举报

0/150
提交
取消
FullPage.js全屏滚动插件
  • 参与学习       43845    人
  • 解答问题       202    个

基于jQuery的全屏滚动效果插件,让翻页显得格外的高端大气上档次

进入课程

TypeError: Move must be initialized with element or selector at new Move (move.min.js:1)

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信