Log in

View Full Version : path showing in taskbar



hariprasad
08-08-2006, 04:11 PM
what is the html code to disable the path or site address showing in the taskbar of internet explorer. pls help

http://img440.imageshack.us/img440/2810/taskbarzq1.jpg

jscheuer1
08-08-2006, 04:19 PM
Can't be done using HTML. I'm not sure if it can be done at all. The taskbar is outside the control of the page designer.

boogyman
08-08-2006, 08:03 PM
that is a picture of the status bar... is that what you are refering to?

blm126
08-08-2006, 08:08 PM
Do you mean when someone hovers over a link?

jscheuer1
08-08-2006, 08:22 PM
Yeah, looks like the status bar. Still can't be done using just HTML. In javascript, there are several options, none of which will work in a non-javascript enabled browser and some of which would render the site inaccessible to a non-javascript enabled browser. Generally, it isn't a good idea to mess with the status bar. Most people do not make it a central part of their internet experience so, whatever is down there cannot possibly detract from your site much.

boogyman
08-08-2006, 08:24 PM
what you are showing in your code is when a person hovers (holds mouse over some link) it will show in the lil bar on the bottom.... that is a code that is embedded into the script of the browser, but if you want to change it you can use the code



<a href="URL.html" onmouseover="javascript:document.setDefaultStatus='YOUR MESSAGE'" onmouseout="javascript:document.setDefaultStatus=' '">LINK TITLE</a>

Twey
08-08-2006, 10:43 PM
Note that that code will be ignored by most browsers with default settings.

jscheuer1
08-09-2006, 04:36 AM
I think we may be casting our pearls before swine here, Twey. You are right though, and that is only a part of the story. For those whose browsers will allow these type of shenanigans, and who rely upon the status bar information for whatever reason, this type of coding will be very disconcerting, to say the least. At the same time, most folks just ignore it anyway so, what's the point? The only value I can think of would be to either:

1 ) More faithfully report what a javascript altered link will do.

or:

2 ) Deceive users as to what will actually happen if they click on the link.

In the first case, thoughtful coding usually can take care of that without having to resort to directly altering the status object. In the second case, shame on you.

Still we haven't heard back from hariprasad as to why he/she wants to do this, so I reserve judgement on those motives until such time as they are revealed to me. Pissa can't really be faulted too much, just giving the OP what they asked for.

mburt
08-09-2006, 12:54 PM
And I think (insert fanfare here), that you should leave it alone. Non-complient will ignore it, and users won't know what's going on :)