I like the new look of the effects demo page. Great work!

Question though, why add MochiKit.Style.getElementHeight and
getElementWidth? I think MochiKit.Style.getElementDimensions was
introduced to have one function instead of two (keeping down the size
of the API). But now we have three, which seems redundant to me.

/Per

On Sun, May 25, 2008 at 3:27 AM, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
>
> Per Cederberg schrieb:
>  > Your suggestions are all good. Don't like clickable text either, but I
>  > just took the fastest route... :-)
>  >
>  > Yes, the box becomes too big and is then corrected when the finalize
>  > function restores the original values for position and size.
>
> The problem is that offsetWidth/Height gets you the with including
> padding and borders, so you can't use this as value for width/height.
>
> I have tried to fix these issues in r1383 and also replaced the
> clickable text with form elements.
>
> -- Chris
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MochiKit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/mochikit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to