Currently, the only tricky case is if an element has a display: none set on page load - we have no way to determine what that element's 'show' should be. And yes, if we implemented this, we would absolutely cache the result.
Right now, if an element is visible (even if it's a div with a display:inline) and you hide it, then show it again - it'll go back to an inline state again (as you would expect). --John On 2/14/07, Chris Domigan <[EMAIL PROTECTED]> wrote: > What if I specify a div as display:inline in my css? Hiding then showing > this div using the above script would change it's display to block. > > Would be good if it remembered the original setting. > > Chris > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
