开发者

Open another FancyBox from callbackOnShow

I am using this http://fancybox.net/

I have 2 divs: 1st open and 2nd hidden

In the first FancyBox, I want to run several things in callbackOnShow and then on开发者_高级运维ce done, it closes and opens the second hidden Fancybox. However I used $('a#div-2').trigger('click'); and it is not working. It seems that the FancyBox trigger won't allow within callbackOnShow. If I do that trigger when document ready, the second box shows.

Any help on how to solve this?


Delay the opening - How do I open one Fancybox after another closes? I might try to add a callback for when the fancybox FINISHES closing and submit it to fancybox. I'll let you know

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜