First, just create *one* Fx.Slide instance.

For hiding the element, just do myFxSlide.hide();

http://jsfiddle.net/EW2hp/2/


On Tue, Jan 15, 2013 at 7:51 PM, Trevor Orr <[email protected]> wrote:

> I have been playing around with Fx.Slide and having some issues getting it
> to work the way I want, I am probably just missing something super simple
> here.
>
> I want the block to be hidden by default and then shown when a button is
> clicked instead of like the MooTools demo of the block shown at first and
> hidden.  I just can't see to get it to work correctly if I hide the block
> by default.
>
> Here is the jsFiddle, once you click on the button 2 times it does slide
> in and out.  Any nhelp would be greatly appreciated.
>
>
> http://jsfiddle.net/EW2hp/1/
>
>
>
>

Reply via email to