Mar 22, 2004 #1 rry2k Programmer Jun 28, 2001 678 US Can someone tell me how to put a scroller in the message bar at the botttom of a page. Thanks..Russ
Mar 23, 2004 #2 BillyRayPreachersSon Programmer Dec 8, 2003 17,047 GB Dynamic Drive has some good scrollers: http://www.dynamicdrive.com I thikn this one: http://dynamicdrive.com/dynamicindex2/titlescroll.htm would be easiest to modify to use window.status instead of document.title. Hope this helps, Dan Upvote 0 Downvote
Dynamic Drive has some good scrollers: http://www.dynamicdrive.com I thikn this one: http://dynamicdrive.com/dynamicindex2/titlescroll.htm would be easiest to modify to use window.status instead of document.title. Hope this helps, Dan
Mar 23, 2004 #3 ChrisHirst IS-IT--Management Nov 23, 2001 8,049 GB it's called the status bar if you do a search for it http://javascript.internet.com/scrolls/double-status-bar-message.html Chris. Indifference will be the downfall of mankind, but who cares? Upvote 0 Downvote
it's called the status bar if you do a search for it http://javascript.internet.com/scrolls/double-status-bar-message.html Chris. Indifference will be the downfall of mankind, but who cares?
Mar 23, 2004 Thread starter #4 rry2k Programmer Jun 28, 2001 678 US I tried the following code per the instructions and nothing happened: <html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: Bryan Pieterse --> <!-- Web Site: http://www.angelfire.com/me4/favourites/ --> <!-- Begin function scrollit_r2l(seed) { var m1 = " offering Free Scripts "; var m2 = " .... "; var m3 = " Visit Us Now! "; var m4 = " Youm may add as many messages as you like! "; var m5 = " LOOOK........ Great!! "; var msg=m1+m2+m3+m2+m4+m2+m5; var out = "Javascript Source "; var c = 1; if (seed > 100) { seed--; var cmd="scrollit_r2l(" + seed + ")"; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { out+=" "; } out+=msg; seed--; var cmd="scrollit_r2l(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 0) { if (-seed < msg.length) { out+=msg.substring(-seed,msg.length); seed--; var cmd="scrollit_r2l(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else { window.status=" "; timerTwo=window.setTimeout("scrollit_r2l(100)",75); } } } // End --> </script> <BODY onLoad="timerONE=window.setTimeout('scrollit_r2()"> <p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 1.84 KB --> </body> </head> </html> Upvote 0 Downvote
I tried the following code per the instructions and nothing happened: <html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- This script and many more are available free online at --> <!-- The JavaScript Source!! http://javascript.internet.com --> <!-- Original: Bryan Pieterse --> <!-- Web Site: http://www.angelfire.com/me4/favourites/ --> <!-- Begin function scrollit_r2l(seed) { var m1 = " offering Free Scripts "; var m2 = " .... "; var m3 = " Visit Us Now! "; var m4 = " Youm may add as many messages as you like! "; var m5 = " LOOOK........ Great!! "; var msg=m1+m2+m3+m2+m4+m2+m5; var out = "Javascript Source "; var c = 1; if (seed > 100) { seed--; var cmd="scrollit_r2l(" + seed + ")"; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 100 && seed > 0) { for (c=0 ; c < seed ; c++) { out+=" "; } out+=msg; seed--; var cmd="scrollit_r2l(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else if (seed <= 0) { if (-seed < msg.length) { out+=msg.substring(-seed,msg.length); seed--; var cmd="scrollit_r2l(" + seed + ")"; window.status=out; timerTwo=window.setTimeout(cmd,100); } else { window.status=" "; timerTwo=window.setTimeout("scrollit_r2l(100)",75); } } } // End --> </script> <BODY onLoad="timerONE=window.setTimeout('scrollit_r2()"> <p><center> <font face="arial, helvetica" size"-2">Free JavaScripts provided<br> by <a href="http://javascriptsource.com">The JavaScript Source</a></font> </center><p> <!-- Script Size: 1.84 KB --> </body> </head> </html>
Mar 23, 2004 Thread starter #5 rry2k Programmer Jun 28, 2001 678 US Billy Ray, Thanks for the script, I was looking for a scroller on the bottom where it says done and or various other messages, Thanks..Russ Upvote 0 Downvote
Billy Ray, Thanks for the script, I was looking for a scroller on the bottom where it says done and or various other messages, Thanks..Russ
Mar 23, 2004 #6 ChrisHirst IS-IT--Management Nov 23, 2001 8,049 GB there is a syntax error in the body code it should be: onLoad="timerONE=window.setTimeout('scrollit_r2l(100)',500);" Chris. Indifference will be the downfall of mankind, but who cares? Upvote 0 Downvote
there is a syntax error in the body code it should be: onLoad="timerONE=window.setTimeout('scrollit_r2l(100)',500);" Chris. Indifference will be the downfall of mankind, but who cares?
Mar 23, 2004 #8 YNOTU Technical User Jun 21, 2002 749 US [tt] Come on! fellow "Programmers" let's be Courteous and properly close our post. Please [/tt] Upvote 0 Downvote
Mar 23, 2004 Thread starter #9 rry2k Programmer Jun 28, 2001 678 US Thanks Chris was the close. Were you looking for something else? Upvote 0 Downvote