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

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

使用fullpage后,獲取不到滾動條滾動的高度怎么解決呢?

使用fullpage后,獲取不到滾動條滾動的高度怎么解決呢?

正在回答

4 回答

console.log("anchorLink"+anchorLink+"index"+index); 我打印的都是object 是什么原因?

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

把scrollOverflow設(shè)為true 滾動條就出來了

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

$('#dowebok').fullpage({

sectionsColor: ['#1bbc9b', '#4BBFC3', '#7BAABE', '#f90'],

anchors:['page1','page2','page3','page4'],

afterLoad:function(anchorLink,index){ //頁面的錨鏈接,頁面序號.當(dāng)滾動完成后返回數(shù)據(jù)

console.log("anchorLink"+anchorLink+"index"+index);

},

onLeave:function(index,nextIndex,direction){ //滾動之前的頁面序號,滾動后的頁面序號,滾動的方向。滾動前先返回數(shù)據(jù)

console.log("index "+index+"nextIndex "+nextIndex+"direction "+direction);

},

afterRender:function(){ //頁面載入完成后返回,其他的回調(diào)方法全部在這個方法回調(diào)完成后回調(diào)

console.log("afterRender");

},

afterResize:function(){ //當(dāng)頁面尺寸被改變后調(diào)用此方法

console.log("afterResize");

},

afterSlideLoad:function(anchorLink,index,slideAnchor,slideIndex){

console.log("anchorLink "+anchorLink+"index "+index+"slideAnchor "+slideAnchor+"slideIndex "+slideIndex);

},

onSlideLeave:function(anchorLink,index,slideIndex,direction,nextSlideIndex){

console.log("anchorLink "+anchorLink+"index "+index+"slideIndex "+slideIndex+"direction "+direction+"nextSlideIndex "+nextSlideIndex);

}

});


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

可以使用fullpage提供的方法實現(xiàn)

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

舉報

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

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

進入課程

使用fullpage后,獲取不到滾動條滾動的高度怎么解決呢?

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

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

幫助反饋 APP下載

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

公眾號

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