tags:

views:

12

answers:

1

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

click event is this

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

What is it not doing?

You might consider putting your code in;

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