This works fine: http://jsfiddle.net/hUvdq/
On 7 Feb 2010, at 19:25, rutherford wrote:
> Also I can't seem to get slideIn() working currently ondomready:
>
> var myFx = new Fx.Slide('container', {
> mode: 'horizontal',
> duration: 1000
> }).slideIn();
>
> $('container').addEvent('click',function(evt){
> myFx.slideOut();
> });
>
> at the minute in chrome this causes the container div to appear
> ondocready with no animation, then slide 20% of the screen left (it is
> located with absolute positioning at left: 80% and it's width is 20%)
>
> On IE it appears then disappears with no animation.
>
> What am I doing wrong?