Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/69.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript jQuery超大型动画_Javascript_Jquery_Supersized - Fatal编程技术网

Javascript jQuery超大型动画

Javascript jQuery超大型动画,javascript,jquery,supersized,Javascript,Jquery,Supersized,我试图在超大jQuery插件(docs:)上使用afterAnimation事件,但无法启动它 代码(示例): $.supersized({ //Functionality slideshow : 1, autoplay : 1, start_slide : 1, stop_loop : 0, r

我试图在超大jQuery插件(docs:)上使用
afterAnimation
事件,但无法启动它

代码(示例):

$.supersized({              
    //Functionality
    slideshow               :   1,
    autoplay                :   1,
    start_slide             :   1,
    stop_loop               :   0,
    random                  :   0,  
    slide_interval          :   3000,
    transition              :   6,
    transition_speed        :   1200,

    // .. removed for clarity

    //Theme Options            
    progress_bar            :   1,  
    mouse_scrub             :   0,
    // This is where i'm trying to call afterAnimation()
    afterAnimation          : function() {
        console.log('blech');
    }}
});

任何指导都将不胜感激

结果是我很接近

初始化supersized后,可以执行以下操作:

theme.afterAnimation = function() {
    console.log('animate');
};

原来我很接近

初始化supersized后,可以执行以下操作:

theme.afterAnimation = function() {
    console.log('animate');
};