Why do I constantly fire my mouth before the brains have come up to speed?
setTimeout("alert(document.getElementById('lyr').offsetWidth)", 0);
/Lunna
At 2000-12-01 12:01 , you wrote:
>The offsetWidth/Height of the layer will give the right answer, but only if
>you allow the rendering machine to kick in. A bug to be fixed, actually.
>
>(Nothing DynAPI here:)
>alert(setTimeout("element.offsetWidth", 0)); // timeout in 0 msecs
>
>If only there was some way to force it to recalc the values...
>
>/Lunna
>
>
>At 2000-12-01 00:58 , you wrote:
>>I'm having problem using the getContentWidth() and getContentHeight in
>>netscape 6
>>It looks like the value that are returned are wrong
>>does anyone have had the same problem or any idea on how to solve it?
>>
>>thank you
>>Nicola
>>_______________________________________________
>>Dynapi-Dev mailing list
>>Dyn...@li...
>>http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
>
>
>_______________________________________________
>Dynapi-Dev mailing list
>Dyn...@li...
>http://lists.sourceforge.net/mailman/listinfo/dynapi-dev
|