[thelist] ALT pop-up
david braun
david.braun at centralnet.ch
Sun Feb 18 08:54:04 CST 2001
On 17.02.2001 at 16:18 Uhr, awcole72 at hotmail.com (Aaron Cole) wrote:
> I'd like to know if anyone knows how to prevent the pop-up box from
> appearing when a vistor mouseovers an image with an ALT tag. I'm all for
> accessibilty, but I've never understood the need for the pop-up box. It's
> obviously not for the blind.
>
> If preventing the pop-box is not possible, can it's appearance be altered
> using stylesheets?
>
> TIA
>
> Aaron Cole
The ALT-Tag is, afaik, not supposed to popup at all, but to showup when
the img.src isn't available, or you're in front of a text-only browser.
One should use the "title"-tag for the "click here etc"-popupmessages.
(Or to avoid the same popping-out by pure force of ignoring standards),
maybe even this could suffice?
You probably can't alter its value with a css, but javascript works (at
least with ie 5, not with ns 4.7 wich isn't an issue (?); both on a mac):
<BODY onload="document.images[0].alt='alttext was altered'">
<IMG src="/img/foo.gif" alt="alttext here" TITLE="This is supposed to popup...">
</BODY>
</HTML>
hth
david
---------------------------------------------
"we don't see that we don't see what we can't see" (H. v. Foerster)
david braun | david.braun at centralnet.ch | icq 105127124
More information about the thelist
mailing list