Hi everybody,

i got another Problem wis prototype

$(widget.widgetId).morph('left: 100px; top: 200px');

is working perfectly.
But i do want to move the element instantly (with duration:0)

so i try to reform the command to

Effect.Morph(widget.widgetId,{style: 'left: 100px; top: 200px' });
This is throwing an Error ("this.initalize is undefined").
Same thing occurs when i try to use Effect.Move which seems to be the
better effect.

widget.widgetId is the id ov the corresponding DIV as simple String.
I also tryed $(widget.widgetId) as first parameter which also failed.

Any ideas anybody?

Ferion

P.S.
I'm sorry for my weak english.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to