I just tested using .hide() and .show() in Firebug with <a> elements, and .show() only makes them elem.style.display="block" when there is a speed designated. Plain .show() returns them to inline.

On Feb 14, 2007, at 5:37 PM, Michael Geary wrote:
The real problem here is that there is *no such thing* as "showing" an HTML element. All you can do is set it to block or inline. This suggests that show() is a mistake: you need separate showBlock() and showInline() methods.

I wonder, would it be possible to pass in another argument instead? Something like .show('slow', 'inline') ? Or would that require too much code rewriting? Would have to consider the callback function too.

--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to