Scrolling Banner

JUST HIGHLIGHT THE TEXT THEN RIGHT CLICK, COPY AND PASTE INTO YOUR HTML PAGE.

      BUT REMEMBER TO CHANGE THE VARIABLES THAT ARE IN RED!


Scrolling Banner

Thanks to my Mentor and a very nice, extreamly smart, Teacher :o)--Dr. Horvathe

<!-- Put this part in the head section of your page! -->
<STYLE TYPE="text/css">
#one {
BACKGROUND-COLOR: BLACK ;
FONT-WEIGHT: BOLD;
FONT-SIZE: 14px;
BORDER: DOUBLE;
COLOR: 32CD32;
}
</STYLE>
<SCRIPT LANGUAGE=JAVASCRIPT><!--
var myMsg = " Welcome to My Super Duper Deluxe Web Site! ";
myMsg = myMsg + " Please Feel Free To Stay As Long As You Like. ";
var i = 0;
function scrollMsg() {
	frontPart = myMsg.substring(i,myMsg.length);
	backPart = myMsg.substring(0,i);
	document.thisform.thisbanner.value = frontPart + backPart;
	if (i < myMsg.length)
		{
		i++;
		}
	else
		{
		i = 0;
		}
	setTimeout("scrollMsg()", 100);
	}
//--></SCRIPT>

<!-- Put this part in the body section of your page, where you want the banner to display! -->
<BODY onLoad="scrollMsg()">
<CENTER><FORM NAME="thisform">
<INPUT ID="one" TYPE="TEXT" NAME="thisbanner" SIZE="60">
</FORM></CENTER>