...

View Full Version : Scroll Bar at Bottom Of Web page



HelpHtml
12-16-2002, 12:12 AM
I would like to put a scrolling message (from right to left) on the tool bar at the bottom of the web page, in that little bar at the bottom that has the Internet Explorer symbol in it. I have seen it done on other web pages, but I cannot find the code for it. Any help would be appreciated.

JustAsking
12-16-2002, 12:56 AM
HelpHtml,

Found this script at DynamicDrive (http://www.dynamicdrive.com) really useful site if you use effects and stuff.



<script language="JavaScript">
<!--
var wait = 150 //sleep time until next letter (milliseconds)
var message = new Array()
message[0] = "first message"
message[1] = "second message"
message[2] = "third message"
var msgs = 2 //Number of message (0 is first)

var temp = "" //Do not modify these... (recommended)
var curmsg = 0
var a = 0
var counter = 0

function typew()
{
a = a + 1
check()
window.status = message[curmsg].substring(0, a)
if(a == message[curmsg].length + 5)
{
curmsg = curmsg + 1
a = 0
}
if(curmsg > msgs)
{
curmsg = 0 }
counter = setTimeout("typew()", wait)
}
function check()
{
if(a <= message[curmsg].length)
{
if(message[curmsg].substring(a, a + 1) == "")
{
a = a + 1
check()
}
}
}
typew();
//-->
</script>

zoobie
12-16-2002, 01:19 AM
Called status bar effects...Many @ Hotscripts.com :D

HelpHtml
12-16-2002, 02:13 AM
Thank You, Thank You, Thank You.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum