Make your own free website on Tripod.com

Java Applet: MoveText.class

The Applet will allow you to easily create scrolling text banners in your web page. No experience is needed. Please have a look at this sample first.

Though IE has a 'marquee' tag to enable this function and we can do the same with DHTML in IE and Netscape, it's not a easy job to create a marquee banner between browsers unless you are a DHTML guru. With the java applet I designed, you will feel it's extremely easy. On the other hand, you can also change the display message within the page with JavaScript. Please type in a message and press 'update' in this form:

A complete HTML Source, with all parameters
<applet name="myapp" code="MoveText.class" width=500 height=30>
	<param name="message" value="Scrolling message example!">
	<param name="bgcolor" value="#AFAF0F">
	<param name="fontcolor" value="#00FFFF">
	<param name="fontname" value="Arial">
	<param name="fontsize" value="18">
	<param name="delay" value="400">
	<param name="delta" value="2">
</applet>
JavaScript and Form Source
<script language=JavaScript>
function chmsg() {
	document.myapp.changeMessage(document.myform.mytext.value);
}
</script>

<form name=myform>
<input type=text name=mytext size=40>
<input type=button value="update" onClick="chmsg()">
</form>
Download the applet MoveText.class (2.7KB)
Applet acceptable parameters
Param Name Type Default Description
message string Author's Info Display Message
bgcolor color string "#FFFF00" Background Color
fontcolor color string "#FF0000" Font Color
fontname string determined by system Font Name, "Arial", "Courier", ...
fontsize integer 18 Font Size
delay integer 200 msecs between two moves
delta integer 2 characters between two moves
Applet public interface
Function Proto Type Description
changeMessage void changeMessage(String) Change display message

Mike Wang <Mike_Wang@bigfoot.com>
Last Updated on October 14, 1998.

Java Applet: MoveText.class

The Applet will allow you to easily create scrolling text banners in your web page. No experience is needed. Please have a look at this sample first.

Though IE has a 'marquee' tag to enable this function and we can do the same with DHTML in IE and Netscape, it's not a easy job to create a marquee banner between browsers unless you are a DHTML guru. With the java applet I designed, you will feel it's extremely easy. On the other hand, you can also change the display message within the page with JavaScript. Please type in a message and press 'update' in this form:

A complete HTML Source, with all parameters
<applet name="myapp" code="MoveText.class" width=500 height=30>
	<param name="message" value="Scrolling message example!">
	<param name="bgcolor" value="#AFAF0F">
	<param name="fontcolor" value="#00FFFF">
	<param name="fontname" value="Arial">
	<param name="fontsize" value="18">
	<param name="delay" value="400">
	<param name="delta" value="2">
</applet>
JavaScript and Form Source
<script language=JavaScript>
function chmsg() {
	document.myapp.changeMessage(document.myform.mytext.value);
}
</script>

<form name=myform>
<input type=text name=mytext size=40>
<input type=button value="update" onClick="chmsg()">
</form>
Download the applet MoveText.class (2.7KB)
Applet acceptable parameters
Param Name Type Default Description
message string Author's Info Display Message
bgcolor color string "#FFFF00" Background Color
fontcolor color string "#FF0000" Font Color
fontname string determined by system Font Name, "Arial", "Courier", ...
fontsize integer 18 Font Size
delay integer 200 msecs between two moves
delta integer 2 characters between two moves
Applet public interface
Function Proto Type Description
changeMessage void changeMessage(String) Change display message

Mike Wang <Mike_Wang@bigfoot.com>
Last Updated on October 14, 1998.

Java Applet: MoveText.class

The Applet will allow you to easily create scrolling text banners in your web page. No experience is needed. Please have a look at this sample first.

Though IE has a 'marquee' tag to enable this function and we can do the same with DHTML in IE and Netscape, it's not a easy job to create a marquee banner between browsers unless you are a DHTML guru. With the java applet I designed, you will feel it's extremely easy. On the other hand, you can also change the display message within the page with JavaScript. Please type in a message and press 'update' in this form:

A complete HTML Source, with all parameters
<applet name="myapp" code="MoveText.class" width=500 height=30>
	<param name="message" value="Scrolling message example!">
	<param name="bgcolor" value="#AFAF0F">
	<param name="fontcolor" value="#00FFFF">
	<param name="fontname" value="Arial">
	<param name="fontsize" value="18">
	<param name="delay" value="400">
	<param name="delta" value="2">
</applet>
JavaScript and Form Source
<script language=JavaScript>
function chmsg() {
	document.myapp.changeMessage(document.myform.mytext.value);
}
</script>

<form name=myform>
<input type=text name=mytext size=40>
<input type=button value="update" onClick="chmsg()">
</form>
Download the applet MoveText.class (2.7KB)
Applet acceptable parameters
Param Name Type Default Description
message string Author's Info Display Message
bgcolor color string "#FFFF00" Background Color
fontcolor color string "#FF0000" Font Color
fontname string determined by system Font Name, "Arial", "Courier", ...
fontsize integer 18 Font Size
delay integer 200 msecs between two moves
delta integer 2 characters between two moves
Applet public interface
Function Proto Type Description
changeMessage void changeMessage(String) Change display message

Mike Wang <Mike_Wang@bigfoot.com>
Last Updated on October 14, 1998.

Java Applet: MoveText.class

The Applet will allow you to easily create scrolling text banners in your web page. No experience is needed. Please have a look at this sample first.

Though IE has a 'marquee' tag to enable this function and we can do the same with DHTML in IE and Netscape, it's not a easy job to create a marquee banner between browsers unless you are a DHTML guru. With the java applet I designed, you will feel it's extremely easy. On the other hand, you can also change the display message within the page with JavaScript. Please type in a message and press 'update' in this form:

A complete HTML Source, with all parameters
<applet name="myapp" code="MoveText.class" width=500 height=30>
	<param name="message" value="Scrolling message example!">
	<param name="bgcolor" value="#AFAF0F">
	<param name="fontcolor" value="#00FFFF">
	<param name="fontname" value="Arial">
	<param name="fontsize" value="18">
	<param name="delay" value="400">
	<param name="delta" value="2">
</applet>
JavaScript and Form Source
<script language=JavaScript>
function chmsg() {
	document.myapp.changeMessage(document.myform.mytext.value);
}
</script>

<form name=myform>
<input type=text name=mytext size=40>
<input type=button value="update" onClick="chmsg()">
</form>
Download the applet MoveText.class (2.7KB)
Applet acceptable parameters
Param Name Type Default Description
message string Author's Info Display Message
bgcolor color string "#FFFF00" Background Color
fontcolor color string "#FF0000" Font Color
fontname string determined by system Font Name, "Arial", "Courier", ...
fontsize integer 18 Font Size
delay integer 200 msecs between two moves
delta integer 2 characters between two moves
Applet public interface
Function Proto Type Description
changeMessage void changeMessage(String) Change display message

Mike Wang <Mike_Wang@bigfoot.com>
Last Updated on October 14, 1998.