[Proto-Scripty] Re: Move an image

2009-02-16 Thread Timm Florian Gloger
Hi, your code does not work, because there is no Element method called move. You have to a) create a new Effect for this and b) you must merge the two options hashes before using them since move expects only one: new Effect.Move('banner1' , $H(options).merge({x: 60, y:-30})) I would also

[Proto-Scripty] Re: Move an image

2009-02-16 Thread Leonard Burton
Hi Timm, your code does not work, because there is no Element method called move. You have to a) create a new Effect for this and b) you must merge the two options hashes before using them since move expects only one: new Effect.Move('banner1' , $H(options).merge({x: 60, y:-30})) How do I

[Proto-Scripty] Re: Move an image

2009-02-16 Thread Timm Florian Gloger
At first: Sorry but i missed that you do not specify all required options for Effect.Move You should check at http://wiki.github.com/madrobby/scriptaculous/effect-move , there you will find that you have to specifiy x, y and mode at least. And i just realized that using a hash as container for

[Proto-Scripty] Re: Move an image

2009-02-16 Thread Leonard Burton
THANK YOU SO MUCH!! On Mon, Feb 16, 2009 at 4:13 PM, Timm Florian Gloger timm.glo...@gmail.com wrote: At first: Sorry but i missed that you do not specify all required options for Effect.Move You should check at