第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定

我的move.js始終實現(xiàn)不了,是不是要引入什么文件呀

afterLaod:function(link,index){

? ?

? ? switch(index){

? ? case 1:

? ? move('.font1').scale(0.1).end();

? ? move('.font2').scale(1.5).end();

? ? break;? ?

? ? case 2:

? ? break;

? ? case 3:

? ? break;

? ? case 4:

? ? break;

? ? default:

? ? break;

? ? }

? ?},


正在回答

1 回答

我也遇到過這個問題,這是因為你用了新版的fullPage.js,你去看看新的官方文檔,afterLoad回調(diào)函數(shù)的參數(shù)已經(jīng)變了,和教程中的不一樣。

這是我實現(xiàn)的代碼:

//借助move.js來實現(xiàn)css3動畫

afterLoad: function(index,nextIndex) {

switch (nextIndex.index){

case 0:

move(".section1 h1").scale(1.5).end(); //end()方法結(jié)束動畫

move(".section1 p").set('margin-top', '5%').end();

break;

case 1:

move(".section2 h1").scale(0.7).end();

break;

case 2:

move(".section3 h1").set('margin-left', '20%').end();

move(".section3 p").set('margin-left', '20%').end();

break;

case 3:

//層層回調(diào)

move(".section4 img.primary").rotate(360).end(function () {

? ?move(".section4 img.sport").rotate(360).end(function () {

? ? ? ?move(".section4 img.edition").rotate(360).end(function () {

? ? ? ? ? ?move(".section4 h4.primary").scale(1.3).end(function () {

? ? ? ? ? ? ? ?move(".section4 h4.sport").scale(1.3).end(function () {

? ? ? ? ? ? ? ? move(".section4 h4.edition").scale(1.3).end();

? ? ? ? ? ? ?});

? ? ? ? ? ?});

? ? ? ?});

? ?});

});

break;

default:

break;

}

},


0 回復(fù) 有任何疑惑可以回復(fù)我~

舉報

0/150
提交
取消
FullPage.js全屏滾動插件
  • 參與學(xué)習(xí)       43814    人
  • 解答問題       210    個

基于jQuery的全屏滾動效果插件,讓翻頁顯得格外的高端大氣上檔次

進入課程

我的move.js始終實現(xiàn)不了,是不是要引入什么文件呀

我要回答 關(guān)注問題
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號