开发者

fx.slide on load?

Im a little stuck with fx.slide, im trying to run it on page load event. Is there a way to do that?

click even开发者_如何学运维t is this

var myHorizontalSlide = new Fx.Slide('wrapper', {mode: 'horizontal'});
$('.href').addEvent('click', function(e){
    e.stop();
    myHorizontalSlide.slideOut();
});


What is it not doing?

You might consider putting your code in;

$(document).ready(function (){
//Your code here
})
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜