課程
/前端開發(fā)
/JavaScript
/FullPage.js全屏滾動(dòng)插件
afterLoad:function('page9','9'){
$(".moveTo").fadeOut();
2016-02-23
源自:FullPage.js全屏滾動(dòng)插件 2-5
正在回答
// function里的小括號(hào)是定義參數(shù)名,不是傳值
afterLoad:function(link,page){
? ? ? ?if(index==9){
? ? ? ? ? ? ? $(".moveTo").fadeOut();
? ? ? ?}
}
//感覺應(yīng)該是這樣的,不知道是否正確,可以嘗試下
問題已經(jīng)得到解決,如你所說:
afterLoad:function(anchorLink,index){
var loadedSection = $(this);
if(index==9){
$(".moveTo").fadeOut(100);
}else{
$(".moveTo").fadeIn();
依舊感謝
舉報(bào)
基于jQuery的全屏滾動(dòng)效果插件,讓翻頁顯得格外的高端大氣上檔次
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2016-02-24
// function里的小括號(hào)是定義參數(shù)名,不是傳值
afterLoad:function(link,page){
? ? ? ?if(index==9){
? ? ? ? ? ? ? $(".moveTo").fadeOut();
? ? ? ?}
}
//感覺應(yīng)該是這樣的,不知道是否正確,可以嘗試下
2016-03-08
問題已經(jīng)得到解決,如你所說:
afterLoad:function(anchorLink,index){
var loadedSection = $(this);
if(index==9){
$(".moveTo").fadeOut(100);
}else{
$(".moveTo").fadeIn();
}
}
依舊感謝