struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohan Radhakrishnan <Moh...@hclcomnet.co.in>
Subject RE: actions only for html:form ?
Date Thu, 31 Oct 2002 12:33:09 GMT
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: struts-user@jakarta.apache.org
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>


Mime
View raw message