Forum Moderators: open
How do they do that?
Thanks
J4T
"Don't screw with my browser"
That means (in no particular order):
- Don't change the function of any UI control, including the address bar and status bar.
- Don't disable any UI control, including the Back button, context-menu, toolbars or scrollbars.
- Don't make any unrequested changes to the state of the UI, including opening, closing and moving windows or dialogs.
- Don't change the appearance of the UI, including colour changes of scrollbars. [Scrollbars on obvious IFrames are a grey area].
Your idea falls foul of the first one on the list. If you must do such a thing, do it in the website <title>.
1) It confuses the user (they are not used to it, and wouldn't know that it's advertising)
2) Users may get paranoid and think that you're taking over their browser
3) If it were a great idea -- the "big guys" would do it all the time
4) It doesn't work all that well in different browsers
5) Just because you can do something doesn't mean it's advisable to do it :)
Just my 2 cents
<script language=JavaScript>
var scrollCounter=0;
var scrollText="Enter the text you want in here";
var scrollDelay =100;
var i=0;
while (i ++< 140)
scrollText=" " + scrollText;
function Scroller()
{
window.status=scrollText.substring(scrollCounter++,
scrollText.length);
if (scrollCounter == scrollText.length)
scrollCounter=0;
setTimeout("Scroller()", scrollDelay);
}
Scroller();
</script>
<a href="http://www.yourdomain.com" onmouseover="window.status='SPECIAL PRICES UNTIL FEBRUARY';return true;" onmouseout="window.status=' ';return true;">
Instead of displaying the url [yourdomain.com...] in the status bar, this will appear in the status bar: SPECIAL PRICES UNTIL FEBRUARY
I used to put stuff in the status bar all the time -- but now I don't anymore. Instead, I find it slightly annoying.
"Don't screw with my browser"
Yes! I mean no! I mean, I agree!
For the same reason I hate sites that use javascript to launch full-screen pages. In a sense, you then lose control of your whole computer as nothing is accessible anymore except by closing the window, which I usually do pretty quick in such cases.
The same for the status bar. The status bar is meant to give you useful information about what's going on, where links go to etc. Not for the webmaster to screw with.
Sure, when I first learned I could mess with it I also thought it was nifty, but as a very heavy surfer have come to detest people messing with it. For pete's sake, you have the whole freakin page to put stuff on, isn't that enough?
"Don't screw with my browser"
P.S. asquithea, do I know you from somewhere else?