aspose file tools*
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Help in using image tag" Watch "Help in using image tag" New topic
Author

Help in using image tag

ashish kulkarni
Ranch Hand

Joined: Aug 15, 2002
Posts: 130
Hi,
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
it,
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)"/">"


A$HI$H
Jason Menard
Sheriff

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