[Seaside-dev] WAImageTag default alt attribute

Philippe Marschall philippe.marschall at gmail.com
Tue Mar 4 18:51:48 UTC 2008


2008/3/4, Gerhard Obermann <obi068 at gmail.com>:
> Is it possible to remove the default
> attribute alt (empty string) for the WAImageTag.

#altText: is a required attribute. We could also throw an exception if
it is missing.

> initialize
>  super initialize.
>  self altText: ''
>
> The reason is, if you are using an anchor with an image inside the anchor,
>  the title attribute of the anchor is not displayed.
> It seems to be a problem for IE6, IE7 only.

Then set the #altText: on the image as well.

Cheers
Philippe


More information about the seaside-dev mailing list