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
})
精彩评论