More Scrolling Status Bar Text Codes

<-->

I'm still working on this page. I've got more codes stashed away somewhere, just gotta find them. Bear with me & come back & check me out later.


Jumbled "Scrolling" Status Bar Message

<HTML> <HEAD> <title>More Scrolling Status Bar Text Codes</title> <SCRIPT LANGUAGE="JavaScript"> <!-- // Copyright (c) 1996-1997 Tomer Shiran. All rights reserved. // Permission given to use the script provided that this notice remains as is. // Additional scripts can be found at http://www.geocities.com/~yehuda/ // set speed of banner (pause in milliseconds between addition of new character) var speed = 10 // decrease value to increase speed (must be positive) // set pause between completion of message and beginning of following message var pause = 1500 // increase value to increase pause // set initial values var timerID = null var bannerRunning = false // create array var ar = new Array() // assign the strings to the array's elements ar[0] = "Welcome to my homepage" ar[1] = "This is my status bar msg pg" ar[2] = "I hope I've gotten all codes right" ar[3] = "You'll have to keep checking back" ar[4] = "to see what else I put here" ar[5] = "Don't forget" ar[6] = "Sign my guestbook before u leave!" // assign index of current message var message = 0 // empty string initialization var state = "" // no value is currently being displayed clearState() // stop the banner if it is currently running function stopBanner() { // if banner is currently running if (bannerRunning) // stop the banner clearTimeout(timerID) // banner is now stopped bannerRunning = false } // start the banner function startBanner() { // make sure the banner is stopped stopBanner() // start the banner from the current position showBanner() } // assign state a string of "0" characters of the length of the current message function clearState() { // initialize to empty string state = "" // create string of same length containing 0 digits for (var i = 0; i < ar[message].length; ++i) { state += "0" } } // display the current message function showBanner() { // if the current message is done if (getString()) { // increment message message++ // if new message is out of range wrap around to first message if (ar.length <= message) message = 0 // new message is first displayed as empty string clearState() // display next character after pause milliseconds timerID = setTimeout("showBanner()", pause) // banner is now running bannerRunning = true } else { // initialize to empty string var str = "" // built string to be displayed (only character selected thus far are displayed) for (var j = 0; j < state.length; ++j) { str += (state.charAt(j) == "1") ? ar[message].charAt(j) : " " } // partial string is placed in status bar window.status = str // add another character after speed milliseconds timerID = setTimeout("showBanner()", speed) // banner is now running bannerRunning = true } } function getString() { // set variable to true (it will stay true unless proven otherwise) var full = true // set variable to false if a free space is found in string (a not-displayed char) for (var j = 0; j < state.length; ++j) { // if character at index j of current message has not been placed in displayed string if (state.charAt(j) == 0) full = false } // return true immediately if no space found (avoid infinitive loop later) if (full) return true // search for random until free space found (braoken up via break statement) while (1) { // a random number (between 0 and state.length - 1 == message.length - 1) var num = getRandom(ar[message].length) // if free space found break infinitive loop if (state.charAt(num) == "0") break } // replace the 0 character with 1 character at place found state = state.substring(0, num) + "1" + state.substring(num + 1, state.length) // return false because the string was not full (free space was found) return false } function getRandom(max) { return Math.round((max - 1) * Math.random()) } // --> </SCRIPT> </HEAD> <BODY onLoad="startBanner()"> </BODY> </plaintext> </font> <p> This is the type of status bar message like you see below. This is the code that was used to create the status bar message that you see below. Obviously, you change the page title & the content of the jumbled status bar text to your own preference. Don't forget to add the <font color="white">onLoad="startBanner()"</font> to your &lt;body> tag. <spacer type="vertical" size="25"> <font color="gold"><h2>One Letter (@ a time) Status Message</h2></font> <center> -====-info 2 come, soon as I remember where they're stored-====- <spacer type="vertical" size="25"> <p><img transparency=10 src="http://members.tripod.com/~ebrian/highlander/images/bluem3d2.gif" height=7 width=595></center><br> <p><p> <center> <!---begin Netscape navigator1---> <hr><p> <table bgcolor="darkblue" border="5" cellpadding="3" width="597" invborder> <th background="http://members.tripod.com/~ebrian/images/spac3.jpg" align="center" colspan=4 width=587> <font size="4"><font color="white"> <blackface> <img transparency=10 src="http://members.tripod.com/~ebrian/images/nsnow.gif" height=23 width=50 border="0" hspace=25 align=left alt="Netscape Now gif"><i>Site Map / Navigation Menu</i><img transparency=10 src="http://members.tripod.com/~ebrian/images/explore.gif" height="23" width="50" border="0" hspace=25 align=right alt="Explore gif"> </blackface> </font></th> <font size=2><tr> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/highlander/watcher.html"> <input onFocus="window.status='Website Homepage'; return true" onBlur="window.status=''; return true" type=submit value=" 1" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> HomePg</form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/highlander/highlander.html"> <input onFocus="window.status='Highlander Section ~~ pics, narratives...'; return true" onBlur="window.status=''; return true" type=submit value=" 2" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> Highlander</form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/highlander/matthew.html"> <input onFocus="window.status='Matthew Shepard Memorial Section'; return true" onBlur="window.status=''; return true" type=submit value=" 3" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> Matthew</form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/Tributes/aidsday-2.html"> <input onFocus="window.status='Tributes Section to other causes'; return true" onBlur="window.status=''; return true" type=submit value=" 4" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> Tributes</form></td></tr> <tr><td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/highlander/eric.html"> <input onFocus="window.status='My bio-Section ~~ boring stuff about me :~))'; return true" onBlur="window.status=''; return true" type=submit value=" 5" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> About Me</form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/workingon.html"> <input onFocus="window.status='HIV/AIDS Info Section ~~ tolerance, advocacy...'; return true" onBlur="window.status=''; return true" type=submit value=" 6" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> HIV/AIDS*</form> </td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/highlander/midis.html"> <input onFocus="window.status='My Playpen Section ~~ midis, friend*s pages...'; return true" onBlur="window.status=''; return true" type=submit value=" 7" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> Playpen</form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/text/sighelp.html"> <input onFocus="window.status='HTML Help Section ~~ various topics'; return true" onBlur="window.status=''; return true" type=submit value=" 8" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> HTML </form></td></tr> <tr><td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/workingon.html"> <input onFocus="window.status='Webpage-Building Tips Section'; return true" onBlur="window.status=''; return true" type=submit value=" 9" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> Web Tips*</form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/highlander/webrings.html"> <input onFocus="window.status='Most WebRings I belong to located here'; return true" onBlur="window.status=''; return true" type=submit value="10" text="cyan" width="38%" borderimage="file://rom/borders/buttonborder2.bif"> <emp><b>WebRings</b></emp></form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/awards/awards.html"> <input onFocus="window.status='Awards Section ~~ Apply for your own'; return true" onBlur="window.status=''; return true" type=submit value="11" text="cyan" width="39%" borderimage="file://rom/borders/buttonborder2.bif"> Awards</form></td> <td bgcolor="black" align="left" colspan="1" width="140"> <form action="http://members.tripod.com/~ebrian/highlander/credits.html"> <input onFocus="window.status='Credits & Links Section'; return true" onBlur="window.status=''; return true" type=submit value="12" text="cyan" width="39%" borderimage="file://rom/borders/buttonborder2.bif"> Credits </form></td></tr> </table><p><HR> <font size=-1><a onMouseOVer="window.status='Details about my Illness ~~ PG14'; return true" onMouseOut="window.status=''; return true" href=http://members.tripod.com/~ebrian/restricted/details.html>&nbsp;5a&nbsp;</a>Illness <spacer type=horizontal size=15> <a onMouseOVer="window.status='Other thoughts from my mindseye'; return true" onMouseOut="window.status=''; return true" href=http://members.tripod.com/~ebrian/personal/musings.html>&nbsp;5b&nbsp;</a>Other Musings <!---font color=cyan>-==HERE==-</font color---> <spacer type=horizontal size=65> <!---a onMouseOVer="window.status='More Scrolling Status Bar Codes'; return true" onMouseOut="window.status=''; return true" href=http://members.tripod.com/~ebrian/text/scroll.html>&nbsp;8a&nbsp;</a>More HTML Help ---> <font color=cyan>&nbsp;&nbsp;8a&nbsp;-==HERE==-</font color> <!---spacer type=horizontal size=15---> </font size><br><hr> <!---End Netscape Navigator Code---> <spacer type="vertical" size="35"><br> <p> <center><embed src="http://members.tripod.com/~ebrian/highlander/navigate-1b.html"> <p><p><hr>In case the above form doesn't work for you, to go to WebRings Page, <a href="http://members.tripod.com/~ebrian/highlander/webrings.html">Click Here</a>!! <hr><p><p> <img transparency=10 src="http://www.angelfire.com/images/lines/bluem3d2.gif" height=75 border=0><p><p><p> <a href=mailto:thewatcher1@webtv.net><img transparency=10 src="http://www.angelfire.com/ca2/ebrian/images/monkeyflash.gif"></a><br>E-Mail to <a href=mailto:thewatcher1@webtv.net>thewatcher1@webtv.net</a><p> <!-- BEGIN FASTCOUNTER CODE --> <!---a href="http://member.linkexchange.com/cgi-bin/fc/fastcounter-login?583301" target="_top"> <img transparency=10 border="0" src="http://fastcounter.linkexchange.com/fastcounter?583301+1166609"></a---> <!-- END FASTCOUNTER CODE --> <!--br---> <!-- BEGIN FASTCOUNTER LINK --> <!---font face="arial" size="1"> <a href="http://www.fastcounter.com/fc-join" target="_top">FastCounter by LinkExchange</a></font><br---> <!-- END FASTCOUNTER LINK --> <p><p> <font color="plum" size="4" effect="embossed"> ericB's Watcher site December 1998</font><p> <img src=prideswirl.gif border=0 alt="Animated Pride Swirl"><p> </center><p> <!---JS Failure Alert Code---> <center><b> <font color="a10000" size="6" effect="shadow"> <script> <!-- // Brought to you By Prototype-1 x='-'; if ( navigator.appCodeName == 'bowser' ) { document.write('\<'+'!'+x+x);} //--> </script> <limittext width="520" value="Warning !!! JS Failure ( Reload Page ) "> <--></b></center></font><!---br><br---> <!---End js failure alert code---> <!---Begin Modify JavaScript---> <p><spacer type="vertical" size="15"><br> <!--UPDATE PAGE CODE START--> <center><script language="javascript"> <!-- document.write('<div align="center"> <font size="1" color="white" effect="shadow">'); document.write('This Page last updated: &mod;'); document.write('</font></div>'); document.write('<div align="right"> <font color="cyan">ericB'); document.write('</font></div><p>') //--> </script> <!--UPDATE PAGE CODE END--> <p> <!---End Modify JavaScript---> <center> <img transparency=10 src="http://cgi3.fxweb.com/v2-trackrun.cgi?userid=M36451&quiet=true" height="2" width="2" border="0"> </center> <p> <p> Stay Healthy & <br> Happy Webbing......<br> </body> </html>