Disabling <ALT>

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Disabling <ALT>

Post by Shendemiar »

Is it possible to disable the alt behaviour by html or javascript means?

I know entering "" for description might do some good, but is there a better method?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

you want to disable the alt information while the page is loaded, but not immediately, is this correct? That'd have to be done through Javascript.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

feyd wrote:you want to disable the alt information while the page is loaded, but not immediately, is this correct? That'd have to be done through Javascript.
Sorry once again, i was in hurry...

I ment the alt property in a href tag. Mouseover description of links.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

I think you're talking about the url that gets shown in the status bar?

Code: Select all

<a href="whatever" onmouseover="window.status='';">whatever</a>
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

feyd wrote:I think you're talking about the url that gets shown in the status bar?

Code: Select all

<a href="whatever" onmouseover="window.status='';">whatever</a>
Upps... It's not standard browser behaviour. IE doesnt shot that alt tag al all. Opera does. OK this is the last time i wrote something from work while i aint on my own computer testing things properly before asking.

Opera shows similiar box for links that IE shows for images that have alt description.
AngusL
Forum Contributor
Posts: 155
Joined: Fri Aug 20, 2004 4:28 am
Location: Falkirk, Scotland

Post by AngusL »

IE does support ALT as far as I'm aware <a href="www.devnetwork.net" alt="Click Here!">A link.</a>

If you don't want alt text for a link...don't put it in when yor write the webpage? If that's what you mean, but I doubt it. :?
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

I have forced alt-like behaviour in opera for mouse over url's

That's what i like to disable, by some other means than adding alt=""
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

The alt (alternative) is used when the image can not be loaded.
The title attribute is the one that will give you a tooltip.
Shendemiar
Forum Contributor
Posts: 404
Joined: Thu Jan 08, 2004 8:28 am

Post by Shendemiar »

Opera seems to make tooltip box for any link in the page. Kind of annoying...
User avatar
wwwapu
Forum Contributor
Posts: 197
Joined: Wed Apr 07, 2004 11:57 am
Location: Turku, Finland

Post by wwwapu »

You can disable tooltips from Opera by Työkalut--Asetukset--Ikkunat--Vihjetekstit käytössä in finnish and in english somethin like Tools--preferences---windows--- tooltips?
Post Reply