wood burning stoves
The moose likes Struts and the fly likes Help in using image tag Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help in using image tag" Watch "Help in using image tag" New topic

Help in using image tag

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 131
I have HTML image tag where in i want to swap the
image on mouse over event, i want to get the mouse
over image also from the properties file, how can i do
Here is the tag i am using, but i have hard coded the
value for onmouseover.
I have different images for different languages..
Is there any other way to do it
Need help
"<" html:image property="add"
on click="javascript:setAction('add')" srcKey
="button.addoff" onmouse out="MM_swapImgRestore()"
onmouse over="MM_swapImage('add','','../images/en/buttons/add_on.gif',1)"/">"

Jason Menard

Joined: Nov 09, 2000
Posts: 6450
Try using regular (non-Struts) html with a <bean:message> tag inside the "onMouseOver" attribute.
I agree. Here's the link: http://aspose.com/file-tools
subject: Help in using image tag
jQuery in Action, 3rd edition