Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Q: Retrieve length (in pixels) of rendered string??

From: "Jerry D. Turner" <f-off@--------.--->
To: NULL
Date: 12/10/2005 10:25:00 AM
"Neil Smith [MVP Digital Media]" <neil@n...> wrote in message 
news:8jajp1ds9hvq6sfb4ijsd7j5c1sn52n3hr@4......
> On Fri, 9 Dec 2005 09:34:56 +0800, "Jerry D. Turner"
> <f-off@s...> wrote:
>
>>Is there a way in msxsl to retrieve the length, in pixels, of a string?
>>Say, for example, the text of a marquee object?  I'd like to find out out
>>long a string is in pixels.
>>
>>Is this possible?
>
> No, it isn't. XSLT is entirely independent of any resultant display of
> output, you'd need to look at CSS and Javascript for that.
>
> Cheers - Neil

Ah, ok.  I gotcha, Neil. This stuff is starting to sink in (old dog and new 
tricks and all that.)

Well, in JS, is there something that will determine the rendered length of a 
string?  Although, I guess that's a bit off-topic for this forum, eh?

Later...

Jerry 




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent