喜对不起完全新的使用jQuery的mootools的,有一个容器(保存到变量itemContent)揭示,Fx.Reveal事件完成后(完成)
后这个功能galleryScroll是调用其滚动元件容器保存到var itemScroll,
想要确保itemContent在滚动函数被调用之前显示什么是最好的方法来做到这一点?
感谢
itemContent.reveal({
'height' : '100%',
duration: 1600,
}).addClass('open-content');
// should this fire this in a callback function so it fires once the container is revealed
galleryScroll.toElement(itemScroll);