If you know the original values of x and y you shouldn't have to know
the current value to use effect.Move if you use mode: 'absolute'
unless I am misunderstanding what you are trying to do, can you
explain in a little bit more detail?  (an example would be nice)

On Thu, Jul 23, 2009 at 11:20 AM, tej <ravi.kavalip...@gmail.com> wrote:
> Hi,
> I have a project where I have 3 DIVs one on top of another and I have
> 3 anchors to show the contents of each DIV.
> if I click "show 1" then divs 2 and 3 move to show div 1's content
> now if i click "show 2" divs 2 and 3 move back to original position
> and followed by moving div 3 to show div2 content
> in order to do this i need to know the current x and y values of div2
> to move back to its original value.
> or is there any way to do this??
> i have used getDimentions and getStyles() but those values remain the
> same as i defined in the beginning..
> If so.. what values of the element are changed when i use effect.Move
> ();
> any help is appreciated
> thanks in advance
> ravi
> >

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 
For more options, visit this group at 

Reply via email to