Its okay i fixed it myself ... i didnt realise that getStyle('right') did it 
!!


----- Original Message ----- 
From: "Jeztah" <[EMAIL PROTECTED]>
To: "Prototype & script.aculo.us" <prototype-scriptaculous@googlegroups.com>
Sent: Tuesday, November 11, 2008 6:28 PM
Subject: [Proto-Scripty] Right offset Of Element


>
> Afternoon people ..
>
> I am trying to get the right handside offset of an element (how far
> from the right of a non scrollable page an element is) .. i am doing
> this to constrain dragging elements outside the parent element which
> happens to be <body>
>
>
> All the offsets and $(element).style.right wont return anything and
> dragging it only seems to change the top and left offsets ..
>
> Does anyone have a nifty criss browser trick to accomplish what i
> need ..
>
> P.S i also need it for bottom too !!
> >
> 


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to