Try using this to generate your new line: "
" It is the ASCII value for a new line, or line feed so it should generate the proper character. Let me know if this works, my brain is still Monday Morning Fuzzy.
Dave S -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Ray Sent: Monday, March 21, 2005 3:52 AM To: Triangle Linux Users Group discussion list Subject: Re: [TriLUG] javascript syntax William Sutton wrote: >I spent a little time on this this afternoon. If you >document.write(eval(temp)) then things parse out as >html...unfortunately you then lose the ability to dynamically update >things. It's been a while since I looked at these things (that is, >randomized or sequential javascript marquees), but my recollection has >been that I never found one I liked for various reasons and that Java >applets always seemed to be the way to go.... > > i'm not in bed with javascript and would be happy to try java applet if anyone has some sample code they want to send my way. seems like a carriage return line feed is simple enough of a feature. too bad it doesn't work. why javascript parses the text strings correctly with \" and not with \n, i'll never know. the whole script has html tags around it. it is the stuff in the middle with the text that is a royal booger. -- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
