Alt Tag

liunx

Guest
I want the alt tag to appear more quicly i.e. as soon as the user moves mouse over link. Is this possible???<!--content-->Few clarifications first.<br />
alt is not a tag, its an attribute which is meant to provide alternate text for non-textual elements to serve as content when the element cannot be rendered normally. (see HTML 4.01 Spec (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/struct/objects.html#adef-alt">http://www.w3.org/TR/html4/struct/objects.html#adef-alt</a><!-- m -->) for more information.<br />
The fact that IE displays it as a tooltip when user hovers over an image is incorrect behavior and should be exploited.<br />
If you want to provide advisory information use title attribute (<!-- m --><a class="postlink" href="http://www.w3.org/TR/html4/struct/global.html#adef-title">http://www.w3.org/TR/html4/struct/globa ... adef-title</a><!-- m -->) <br />
<br />
Most graphical browsers display the content of title attribute as a tooltip using OS functionality. You can not affect neither presentation nor behavior of these tooltips. <br />
<br />
You can, however, use javascript to replace the default tooltips with an absolutely positioned block element. My implementation of such script can be found here: <!-- w --><a class="postlink" href="http://www.klproductions.com/klToolTipsDemo.html">www.klproductions.com/klToolTipsDemo.html</a><!-- w --><!--content-->hi Vladdy...<br />
<br />
I was checking-out your tooltip mouseovers and it crashed my browser (Moz).<br />
<br />
To be sure, I tried it again.<br />
Same.<br />
<br />
I only mention it so that you are aware of it.<br />
Maybe it's just Moz (1.4b)... which is really starting to tick me off lately (but i don't know... i didn't test on anything else)...<br />
;) k<!--content-->I usually stay away from nightly builds, but it works fine on my Moz 1.4...<br />
Was there any kind of error or anything:confused: :confused:<!--content-->
 
Back
Top