Hi,

So if my original tag is like this

<a href="logoff.action" onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('x','','images/x.gif',1);">
<img name="smwinterfacestats_r2_c8" src="images/x.gif" width="38"
height="34" border="0" alt="">

then the new one would be

like this.

<html:link page="/logoff.action"  onMouseOut="MM_swapImgRestore()"
onMouseOver="MM_swapImage('x','','images/x.gif',1);>
 <html:img  name="x" src="images/x.gif" width="38" height="34" border="0"
alt="">
 </html:img>
</html:link>

Shouldn't onMouseOut/onMouseOver be attributes of <html:img>? I will try
this.

Thanks,
Mohan



-----Original Message-----
From: Marcus Biel [mailto:Marcus.Biel@;bmw.de]
Sent: Thursday, October 31, 2002 5:19 PM
To: [EMAIL PROTECTED]
Subject: Re: actions only for html:form ?


Well, of course you can put your image into the link instead of text,
just like you would do it with simple html.

I have to admit so far I never used an image link,
so I still sugest you to look in your struts docu,

but it should be something like:
<html:link page="/logoff.do" ><html:img>image.jpg</html:img></html:link>

marcus

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to