Status Bar Scroller
The classic "marquee" effect for your status bar. While modern browsers block direct status bar access, this script includes a visual simulation for today's web.
Watch the message scroll in the simulated bar below:
Loading...
Copy the Script
<script>
var msg = "Welcome to my website! ";
var pos = 0;
function scrollStatus() {
// Attempt legacy status update
window.status = msg.substring(pos, msg.length) + msg.substring(0, pos);
// Update logic
pos++;
if (pos > msg.length) pos = 0;
setTimeout("scrollStatus()", 150);
}
scrollStatus();
</script>
Frequently Asked Questions
For security reasons, modern browsers prevent websites from changing the status bar text (to avoid spoofing URLs). This script only works on very old browsers like IE6.
Yes. The modern workaround is to use `document.title` to scroll the tab name, or create a fixed-position `div` at the bottom of the page that mimics a status bar.
Yes. Change the number in `setTimeout('scroll()', 100)` to adjust the millisecond delay between updates.