2017-04-11 6 views
0

필자는 갤러리아 플러그인에 약간의 문제가 있습니다.갤러리아 옵션 캐 러셀 : 허위 작동하지 않음

옵션 회전 목마 : 허위 나

(function() { 
    Galleria.loadTheme('./js/galleria/themes/classic/galleria.classic.min.js'); 
    Galleria.configure({ 
     transition: 'fade', 
     transitionSpeed: 3000, 
     carousel:false 
    }); 
    Galleria.run('.galleria',{ 
     autoplay: 4000 
    }); 
}()); 

작동하지 않습니다하지만 회전 목마는 문서에 따르면이

답변

0

여전히 :

You can also add options as a second argument when calling Galleria.run: (http://docs.galleria.io/article/118-using-options)

어떤 아마도 만약 당신이 옵션을 run() 함수에 전달하면, 나는 t이 configure()

에 전달 된 이전 옵션을 덮어 쓰게됩니다 대신을 시도해보십시오

(function() { 
    Galleria.loadTheme('./js/galleria/themes/classic/galleria.classic.min.js'); 
    Galleria.configure({ 
     transition: 'fade', 
     transitionSpeed: 3000, 
     carousel: false, 
     autoplay: 4000 
    }); 
    Galleria.run('.galleria'); 
}());