This " the same" value, is it the size of the 'invite' layer, it is always 0,
is it some random number that has no apparent relationship with the size of the
layer and the size of the content ?

Hershel Robinson wrote:

> I'm using DynAPI Version 2.53 and I'm having a little trouble with
> getContentWidth().
>
> The variable myText is set to some HTML code and then I have this:
>
>     invite.textLayer.setHTML("<CENTER>"+
>                              myText+
>                              "</CENTER>")
>
> alert("width = "+invite.textLayer.getContentWidth())
>
> I can see the that text is being set properly (I see it in my browser).  No
> matter what the text is, however, the getContentWidth is always the same.
>
> Any assistance is appreciated--I don't know what I'm doing wrong.
>
> Hershel
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help


_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to