Hello, how I have this little script for my sliding panel:

window.addEvent('domready', function() {


    var fx = new Fx.Slide('footer-snif').hide();



    $$('#footbut h3').addEvent('click', function(event){
/*


        // w/out Fx.Slide
        var fx = new Fx.Morph($('footer-snif'));



        if ($('footer-snif').getStyle('height').toInt() == 0 )
{
            fx

              .start({'height': [0,200]});
        } else {
            fx
              .start({'footer-snif': [200,0]})
              .addEvent('complete', function(){
              });
        }
        */

        fx.toggle();

        $(this).toggleClass('active');

        event.stop();
    });

});


It slides now from top to bottom now, but I want change direction of
slide. I googled and found this:

http://rightjs.org/docs/fx/slide

Question:

Where and how I can enter this code Fx.Slide.Options.direction?
Thank you!

Reply via email to