/    Sign up×
Community /Pin to ProfileBookmark

Change color of scrolling text in status bar

Hi,

I have the following code for scrolling text in status bar. Is it possible to change font color or font size?

<!– ONE STEP TO INSTALL STATUS BAR SCROLLER:

  • 1. Copy the coding into the BODY of your HTML document –>
  • <!– STEP ONE: Paste this code into the BODY of your HTML document –>

    <BODY>

    <!– This script and many more are available free online at –>
    <!– The JavaScript Source!! [url]http://javascript.internet.com[/url] –>

    <SCRIPT LANGUAGE=”JavaScript”>

    <!– This script and many more are available free online at –>
    <!– The JavaScript Source!! [url]http://javascript.internet.com[/url] –>

    <!– Begin
    var osd = ” “
    osd +=”WELCOME to – me”;
    osd +=” “;
    var timer;
    var msg = “”;
    function scrollMaster () {
    msg = customDateSpring(new Date())
    clearTimeout(timer)
    msg += ” ” + showtime() + ” ” + osd
    for (var i= 0; i < 100; i++){
    msg = ” ” + msg;
    }
    scrollMe()
    }
    function scrollMe(){
    window.status = msg;
    msg = msg.substring(1, msg.length) + msg.substring(0,1);
    timer = setTimeout(“scrollMe()”, 200);
    }
    function showtime (){
    var now = new Date();
    var hours= now.getHours();
    var minutes= now.getMinutes();
    var seconds= now.getSeconds();
    var months= now.getMonth();
    var dates= now.getDate();
    var years= now.getYear();
    var timeValue = “”
    timeValue += ((months >9) ? “” : ” “)
    timeValue += ((dates >9) ? “” : ” “)
    timeValue = ( months +1)
    timeValue +=”/”+ dates
    timeValue +=”/”+ years
    var ap=”A.M.”
    if (hours == 12) {
    ap = “P.M.”
    }
    if (hours == 0) {
    hours = 12
    }
    if(hours >= 13){
    hours -= 12;
    ap=”P.M.”
    }
    var timeValue2 = ” ” + hours
    timeValue2 += ((minutes < 10) ? “:0″:”:”) + minutes + ” ” + ap
    return timeValue2;
    }
    function MakeArray(n) {
    this.length = n
    return this
    }
    monthNames = new MakeArray(12)
    monthNames[1] = “Janurary”
    monthNames[2] = “February”
    monthNames[3] = “March”
    monthNames[4] = “April”
    monthNames[5] = “May”
    monthNames[6] = “June”
    monthNames[7] = “July”
    monthNames[8] = “August”
    monthNames[9] = “Sept.”
    monthNames[10] = “Oct.”
    monthNames[11] = “Nov.”
    monthNames[12] = “Dec.”
    daysNames = new MakeArray(7)
    daysNames[1] = “Sunday”
    daysNames[2] = “Monday”
    daysNames[3] = “Tuesday”
    daysNames[4] = “Wednesday”
    daysNames[5] = “Thursday”
    daysNames[6] = “Friday”
    daysNames[7] = “Saturday”
    function customDateSpring(oneDate) {
    var theDay = daysNames[oneDate.getDay() +1]
    var theDate =oneDate.getDate()
    var theMonth = monthNames[oneDate.getMonth() +1]
    var dayth=”th”
    if ((theDate == 1) || (theDate == 21) || (theDate == 31)) {
    dayth=”st”;
    }
    if ((theDate == 2) || (theDate ==22)) {
    dayth=”nd”;
    }
    if ((theDate== 3) || (theDate == 23)) {
    dayth=”rd”;
    }
    return theDay + “, ” + theMonth + ” ” + theDate + dayth + “,”
    }
    scrollMaster();
    // End –>
    </SCRIPT>

    <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: 2.70 KB –>

    to post a comment
    JavaScript

    1 Comments(s)

    Copy linkTweet thisAlerts:
    @bathurst_guySep 05.2005 — No its not
    ×

    Success!

    Help @janren spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.19,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...