• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Help in using image tag

 
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)"/">"
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try using regular (non-Struts) html with a <bean:message> tag inside the "onMouseOver" attribute.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic