On Feb 20, 4:38 pm, Tom Gregory [EMAIL PROTECTED] wrote:
There's a Prototype function Element.getHeight. =)
I misread the original response from Marius. Is the only solution to
set a fixed height on the element? Is there a way to get the browser
to calculate this height by itself, maybe by
These functions use the calculated height in pixels, that the browser
provides, not CSS heights/widths.
What possibly might work is:
var height = $('element').show().getHeight();
$('element').hide();
There shouldn't be any flickering when doing this, and you should get
the height that the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Jones wrote:
On Feb 20, 4:38 pm, Tom Gregory [EMAIL PROTECTED] wrote:
There's a Prototype function Element.getHeight. =)
I misread the original response from Marius.
No, you got it right :)
Tom had good reasons to suggest using Element's
Are there *any* possible fixes for these specific cases? I am trying to
use this with tooltips and it works great in all cases in FF so far and
most in IE, but in one case in IE I have a
divformtableother stuff and it only sizes it correctly for
the button elements (contained in last row of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Jones wrote:
http://pmade.com/distfiles/slidedown.html
When you click the test button, the effect will run, but at the very
end the final paragraph will jump in instead of being part of the
slide animation. I'm not sure what I'm doing
On Feb 20, 3:18 pm, Marius Feraru [EMAIL PROTECTED] wrote:
To cure it, you'll have to enhance your click handler such as
test-effect's height is already known *before* instantiating that SlideDown
effect (TMTE, choose whatever suits you - accordingly to your real layout).
Do you have a
There's a Prototype function Element.getHeight. =)
http://prototypejs.org/api/element#method-getheight
TAG
On Feb 20, 2007, at 4:17 PM, Peter Jones wrote:
On Feb 20, 3:18 pm, Marius Feraru [EMAIL PROTECTED] wrote:
To cure it, you'll have to enhance your click handler such as