PAGE2GO2 HOME | INTERNET NEWS

LeighExchange - Free Advertising Network Stock Research at Internet Speed

Re: Adjusting typewriter scroller script

 List
Subject: Re: Adjusting typewriter scroller script
Poster: RandyWebbHikksNotAtHome@aol.com
Date: Fri, 23 Mar 2007 14:21:29 -0500
Related Postings: 1 2 3 4 5 6 7 8 9 10
mistral said the following on 3/23/2007 9:07 AM:
> On 23 мар, 14:49, Randy Webb wrote:
>> mistral said the following on 3/23/2007 8:37 AM:
>>
>>> Below is Typewriter Scroller script.
>> You mean something like this:
>>
>> http://members.aol.com/_ht_a/hikksnotathome/typingText.html>
>>
>> It is old (about 6/7 years) and could probably be written more efficiently.


> no, like this
> http://www.yaldex.com/FSScrolls/TypewriterScroller.htm
>
> with above mentioned corections.

Interesting. What happens if the text to be typed wraps a line? The one I wrote handles that by using a fixed width font to be able to attempt to control the wrapping issue. There is some extra code in mine that handles the ability to insert a
or

tag into the string to be typed in order to handle the word wrap issue (You can't just cut it off at a simple place, it has to break on word boundaries). You could do it with a variable width font but it would take even more code than what it does now. It should also remove the cursor when it finishes "typing" (which mine does).

-- Randy Chance Favors The Prepared Mind comp.lang.javascript FAQ - http://jibbering.com/faq/index.html Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/

 

Page2Go2.com is not responsible for content of this message.