On a webpage I'm playing with, I'd like to put a message in the "Statis Bar" (Along bottom of browser screen)
I'd like the message to stay there all the time the viewer is at that page, even if they mouse-over any active links. No need for scrolling or anything fancy.
I've never used Java script before, so the more detailed the better.
Thanks: (AKA Byter)
Posts: 1052 | Location: Sun Valley, Calif. :^þ | Registered: 06-03-02
Since this was previously asked, I'll post my previous Javascript. Enter any text you like, and adjust scroll delay as desired --
<script language="JavaScript"><!-- var statlinemsg = "..Mike, look at the bottom of the page.."; var msgidx = 0; var scrolldelay = 120; function StatusLineText() { window.status = statlinemsg.substring(msgidx, statlinemsg.length) + statlinemsg.substring(0, msgidx); msgidx++; if (msgidx > statlinemsg.length) msgidx = 0; window.setTimeout("StatusLineText()",scrolldelay); } StatusLineText() // --></script>
That's Too neat ! Sorry I missed earlier. I noticed that the "shortcut to URL" flashes momentarly as I mouse-over then, I guess, the JS regains control of statis bar.
Thanks again Tom
Posts: 1052 | Location: Sun Valley, Calif. :^þ | Registered: 06-03-02
I don't one bit mind reposting these snippets. I mentioned that it was a repeat only as a reminder that Search can turn up immediate answers (not that the 2 hour wait was a big deal). The knowledge repository here is getting pretty large...
Hey, nice laboratory! And the resident corpse rounds it out nicely.