/    Sign up×
Community /Pin to ProfileBookmark

Script not working

Hi everybody,

I need some help with this piece of code:

<script language=”javascript”>
function scrollingStatus(){
var msg = “Sometextcomeshere”
windows.status = msg
msg = msg.substring(1, msg.lenght) + msg.substring(0, 1)
setTimeout(“scrollingStatus()”, 100)
}
</script>

I was hoping this would add a scrolling text on browser’s status bar. But nothing happened.

What did I do wrong? Is there error in the code? Or something wrong with my browser? (I’m using IE 7).

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@KorOct 29.2007 — For the beginning, let me tell you that no one uses messages written on status bar anymore. The reasons are:

  • 1. Users expect to see something else on status bar [I]if[/I] they look down there (the status of the page loding, the url when mouseover a link)

  • 2. When reading a page, humans analyze it from top left (top right for the right-to-left writing languages) to the bottom. Bottom status bar is the [I]last place[/I] where to place a message. User might easily miss it.

  • 3. Mozilla browsers do not permit the overwriting of the status bar. Opera has also an option to prevent that (and Opera users prefer to choose that option)
  • ×

    Success!

    Help @Pyhaloom 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.5,
    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: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

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

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...