Hello everybody,

I successfully implemented the FX.slide demo from mootools.net. Now I
wonder, how to toggle the slide automatically a few seconds after
loading the page. This is my JS code so far.

window.addEvent('domready', function() {
        var myVerticalSlide = new Fx.Slide('vertical_slide', { duration:
'long', transition: Fx.Transitions.Bounce.easeOut }).hide();

        $('v_toggle').addEvent('click', function(e){
                e.stop();
                myVerticalSlide.toggle();
        });
        $('v_slideout').addEvent('click', function(e){
                e.stop();
                myVerticalSlide.slideOut();
        });
});

I have no idea, how to start the event without clicking on the button.
I tried a lot of fireevents... but no chance.


Thanx for any help .... and MERRY CHRISTMAS

Reply via email to