Hi All,

I've got the following code:

[code]
window.addEvent('domready', function() {
        //-vertical
        var myVerticalSlide = new Fx.Slide('vertical_slide',
{duration: 570, transition: 'bounce:out'}).hide();

        $('v_toggle').addEvent('click', function(e){
                e.stop();
                myVerticalSlide.toggle();
        });
});
[/code]

Now the thing is, by default, when I click on my button, the element
(div) will toggle down and when I click it again, it will go toggle up
again.

But what If I want the element to toggle Up, and then down, how can I
achieve this?
Now someone has achieved this: http://www.virtual-gadjo.com/test/slideup.html
however I want to achieve the same thing but by Toggling.

Any suggestions?

Reply via email to