Ajax not working with jquery Flip! plugin

后端 未结 1 1570
攒了一身酷
攒了一身酷 2021-01-26 02:00

I\'m trying to use the FLIP! plugin and have it\'s content loaded by ajax. I\'m running into a problem though. It\'s just not working.

I can see the post event happenin

相关标签:
1条回答
  • 2021-01-26 02:35

    Try to use the callbacks to load Ajax before the animation:

    $("#flipbox").flip({
        direction:'tb',
        onBefore: function(){
                console.log('before starting the animation');
        },
        onAnimation: function(){
                console.log('in the middle of the animation');
        },
        onEnd: function(){
                console.log('when the animation has already ended');
        }
    })
    
    0 讨论(0)
提交回复
热议问题