How can i tell what the visibility state of an element is which has just been toggled? Is my selector no good or is it a matter of timing? The situation is that i'm displaying a page of search results.

Hi, why it is not possible to use visibility instead of display to hide element before fx ? Because if you want to use display: Inline-block or other value than block, it's not works. And if you want to reserve รขโ‚ฌยฆ I noticed today after much fiddling that. hide() causes the parent element to loose its height(). In other words, height() won't work on elements that have display:none -- causing me to use. hide() only รขโ‚ฌยฆ I'm trying to position a popup dynamically if the window is scrolled to the point where my default position wouldn't be appropriate.

I noticed today after much fiddling that. hide() causes the parent element to loose its height(). In other words, height() won't work on elements that have display:none -- causing me to use. hide() only รขโ‚ฌยฆ I'm trying to position a popup dynamically if the window is scrolled to the point where my default position wouldn't be appropriate. The div has an id style: #gallery { position: