You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ashish Kulkarni <ku...@yahoo.com> on 2002/08/29 17:26:01 UTC

HTML:image tag question

Hi,

How can i have mouse effect in <html:image> tag, my original tag is given below, what will be the same in struts.

I want to get the images path from resource bundle, i have written it a bit like but dont know how to add the mouseover effects

my struts tag:

<html:image property="login2" srcKey ="button.login" />

original tag:

<input type="image" value="Submit" name="login1" border="0" src="images/buttons/login_off.gif" width="75" height="24"  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('login1','','images/buttons/login_on.gif',1)">

Ashish


A$HI$H


---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

RE: HTML:image tag question

Posted by Jacob Hookom <ho...@uwec.edu>.
<html:image> allows the same parameters to be set.  You should read the
struts tag documentation.

-Jacob

| -----Original Message-----
| From: Ashish Kulkarni [mailto:kulkarni_ash1312@yahoo.com]
| Sent: Thursday, August 29, 2002 10:26 AM
| To: Struts Users Mailing List
| Subject: HTML:image tag question
| 
| 
| Hi,
| 
| How can i have mouse effect in <html:image> tag, my original tag is
given
| below, what will be the same in struts.
| 
| I want to get the images path from resource bundle, i have written it
a
| bit like but dont know how to add the mouseover effects
| 
| my struts tag:
| 
| <html:image property="login2" srcKey ="button.login" />
| 
| original tag:
| 
| <input type="image" value="Submit" name="login1" border="0"
| src="images/buttons/login_off.gif" width="75" height="24"
| onMouseOut="MM_swapImgRestore()"
|
onMouseOver="MM_swapImage('login1','','images/buttons/login_on.gif',1)">
| 
| Ashish
| 
| 
| A$HI$H
| 
| 
| ---------------------------------
| Do You Yahoo!?
| Yahoo! Finance - Get real-time stock quotes
| 
| ---
| Incoming mail is certified Virus Free.
| Checked by AVG anti-virus system (http://www.grisoft.com).
| Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
| 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002
 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>