You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matthew O'Haire <MO...@Trysoft.com> on 2001/04/11 03:22:59 UTC
rollover effects on html:link
Hi folks,
I have a link that spans am image and some text. As I hover over the link I
want to switch the images in conjunction with the text effects.
Here is the code snippet:
<html:link href="TSA32.do" paramId="key" paramName="lot"
paramProperty="primaryKey">
<%--<a href="TSA32.do" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('Image2','','common/images/icon_door_grey_.gif',1)
">--%>
<img src="common/images/icon_door_grey.gif" width="13" height="16"
border="0" name="Image2">
<bean:write name="lot" property="description" filter="true"/>
</html:link>
The comment on the second line illustrates what I'm trying to achieve with
the html:link, but if I add the onMouseOver/Out to the html:link I get an
"Attribute invalid according to TLD" error...
Is there some other construct I can use to acieve the same effect?
Thanks.
Matt.
Re: rollover effects on html:link
Posted by Roland Huss <Ro...@consol.de>.
"Matthew O'Haire" <MO...@Trysoft.com> writes:
> The comment on the second line illustrates what I'm trying to achieve with
> the html:link, but if I add the onMouseOver/Out to the html:link I get an
> "Attribute invalid according to TLD" error...
Try 'onmouseover' or 'onmouseout' as attribute names, since they are
case sensitive....
cu....
--
...roland huss
consol.de