I putted a java applet text ticker in my site, which I also saw here on this site. I previously mailed the author with my question, but I haven't got any reaction from him/her so now I'm trying here.
It's the textticker with the X_TextTicker.class file with the code:
<applet code=X_TextTicker.class name=X_TextTicker width=100% height=100% align="absmiddle" id=X_TextTicker viewastext>
<param name="m4" value="test test test.">
<param name="m3" value="hello world">
<param name="m2" value="How are you doing? I'm doing fine.">
<param name="m1" value="test test test">
<param name="m0" value="hi hi hi hi">
<param name="linecolor" value="FFFFFF">
<param name="backcolor" value="62704C">
<param name="rectangle_color" value="62704C">
<param name="forecoloroff" value="FFFFFF">
<param name="forecoloron" value="B8FD42">
<param name="font" value="Arial|PLAIN|12">
I was wondering how I can make an new line in ticker. For instance the M2 = First line: How are you doing?
Second line: I'm doing fine.
The signs <br> or /n all doesn't seem to werk, a normal enter neither.
Does anybody maybe know a solution? Sorry if the post isn't clear enough or in the right fourm.
I haven't gotr the code,,,
,,,but this applet seems to work like it collects all its messages from the
parameter section by using the "m" prefix and a numeric (0,1,2,3..etc.)
postfix. So if it hasn't any limit it seems that you can enter as many
messages you want as long as you keep the numeric postfix contiguos; the
parameter collection stops at the first null receival.
The linebreaks you insert into the lines doesn't show ? Well, if the text
applet has no logic for detecting these characters (performs a line
advance in its text string paint job when they are found using fontmetrics
calculations etc.) then they are just bypassed.
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL