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