Metachecker.net
|
FontsMadeEasy.com
|
RankChecker.net
Learn Java Script Today
|
Over 5000 Free Fonts
|
Tutorials
|
Javascript Forum
|
Other Javascript Resources
|
Cheat Sheet
JavaScript Basics
Inserting Javascript
Complete Tutorial
Advance DHTML Tutorial
Script archive
Advanced Tutorials
Alert Scripts
Animation
Audio
Background Effects
Banner Ads
Browser Window
Buttons
Button Forms
Calculcators
Calendars
Clocks & Dates
Cookies
Cursor Effects
DHMTL Games
DHTML Miscellaneous
Equivalents
Forms
Games
IE4+ Scripts
IE5+ Scripts
Image Effects
Image Miscellaneous
Links & Buttons
Math Related
Messages Miscellaneous
Miscellaneous
Mouse Tricks
Navigation
Page Details
Password Protection
Pulldown Menus
Random Stuff
Scrolling
Status Bar
Text Animation
User Detail
User Info
Window Control
Information Box
Put this useful little script on your page to display lots of information to your visitors quickly and effectively. Check it out and see what I mean!
Insert into <HEAD>
<SCRIPT LANGUAGE="JavaScript"> <!--- Begin var CurrentMsg = 'hello '; function update(msg) { var pad_str=""; n = msg.length; if(n<72) { pad = (73-n)/2; for(var i=0; i<pad; i++) { pad_str+=" "; } } CurrentMsg = pad_str + msg; document.messages.field.value = CurrentMsg; clearTimeout(timer); timer = setTimeout("idleMsg()",4000); } function MakeArray(n) { this.length=n; for(var i = 1; i<= n; i++) { this[i] = ""; } return(this); } var index = 1; var notice_num = 10; var notices = new MakeArray(notice_num); notices[1] = "Welcome to The JavaScript Source Information Bar!"; notices[2] = "This is another neat script that I ran into in my travels..."; notices[3] = "You can use this script on your own web page to easily"; notices[4] = "and effectively present any information you want."; notices[5] = "Could you picture what you could do with this?"; notices[6] = "Maybe display upcoming events, notices, or whatever works for you."; notices[7] = "Well, take this script, and let me know how it turns out."; notices[8] = "I forget to mention you can change the text and the speed -"; notices[9] = "Just change (\"idleMsg()\",4000) to the speed you want."; notices[10] = "Be sure to remember that the time is in milliseconds! Repeating...."; var timer = setTimeout('idleMsg()',4000); function nochange() { document.messages.field.value = CurrentMsg; } function idleMsg() { update(notices[index++]); if(index>notice_num) { index=1; } } // End --> </SCRIPT>
Insert into <BODY>
<CENTER> <FORM name="messages" onSubmit="return false"> <input type="text" name="field" size=73 value="" onFocus="self.status='This is a JavaScript info. field'; return true" onChange="nochange()"> </FORM> </CENTER>
Other Options