Chakka!

Just asking the question in a mailinglist and some fiddling gives the
answer...

setElementDimensions('p2x_menu',{"w":'auto',"h":'auto'}); does in fact
nothing. It only fails silently.

Correct is:
updateNodeAttributes('p2x_menu',{"style":{"width":"auto",
"height":"auto"}})

which may be kind of disturbing.

Would an "improvement" to setElementDimensions to accept "auto" be a
good idea?

Harald


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

Reply via email to