On 1/16/07, Nigel McNie <[EMAIL PROTECTED]> wrote:
Hi,

While using MochiKit.DOM's showElement function, I have come across some
wierd behaviour that I believe is worthy of a fix. showElement always
sets the display of the element to show to 'block', regardless of the
element's type (it's a partial application of this.setDisplayForElement
to 'block').


This is documented. I'm reluctant to include a pile of workarounds as
there's a better and more generic solution (that requires a little
CSS):
http://mochikit.com/doc/html/MochiKit/Style.html#element-visibility

-bob

--~--~---------~--~----~------------~-------~--~----~
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