JavaScript - An open source scripting language, it allows the creation of dynamic web page content.  Home Web Programming JavaScript Scrolling Status Bar Text

Scrolling Status Bar Text


 
 
Look at the Status Bar, in the bottom left corner of your Web Browser!
 
 
Click to start the script.

Put this code into your page:

<html>
<head>

<style>
.text
{
FONT: 10pt arial;
COLOR: black
}
</style>

<script language=javascript>
barMsg="WebDesignHelper.co.uk"

i=0
function scrollMsg()
{
beginningPart=barMsg.substring(i,barMsg.length)
endPart=barMsg.substring(0,i)
window.status=beginningPart+endPart
if (i < barMsg.length)
{i++}
else {
i=0 }
setTimeout("scrollMsg()",150)
}

</script>
</head>

<BODY onLoad="scrollMsg()" BGCOLOR="#FFFFFF">

<br><br><br>
<center>
<TABLE width="290" border="0" cellpadding="0" cellspacing="0" bgcolor=#F5F4E0>
<tr>
<td colspan=3><img src=images/spacer.gif height=10></td>
</tr>
<tr>
<td><img src=images/spacer.gif width=10></td>
<td width=270 height=30 bgcolor=white align=center>
<font class=text>Look at the Status Bar, in the bottom left corner of your Web Browser!</font></td>
<td><img src=images/spacer.gif width=10></td>
</tr>
<tr>
<td colspan=3><img src=images/spacer.gif height=10></td>
</tr>
</table>
</center>

</body>
</html>



Author's URL: Markus Dome
JavaScript - An open source scripting language, it allows the creation of dynamic web page content. More JavaScript Tutorials: Featured Materials | Fresh Materials | More JavaScript Tutorials at LearnPHP.org

No comments yet...
Add comments to "Scrolling Status Bar Text"

Captcha