| Author |
HTML:image tag question
|
ashish kulkarni
Ranch Hand
Joined: Aug 15, 2002
Posts: 130
|
|
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 mouse over effects my struts tag "<"html:image property="login2" srcKey ="button.login" "&rt; original tag: "<"input type="image" value="Submit" name="login1" border="0" src="images/buttons/login_off.gif" width="75" height="24" on Mouse Out="MM_swapImgRestore()" on Mouse Over="MM_swapImage('login1','','images/buttons/login_on.gif',1)""&rt;"
|
A$HI$H
|
 |
Jeff Born
Greenhorn
Joined: Sep 27, 2002
Posts: 23
|
|
Try something like this: <html:image property="homeButton" alt="home" src="images/home_off_tab.gif" on mouse over="this.src='images/home_off_m_over_tab.gif';" on mouse out="this.src='images/home_off_tab.gif';"/>
|
 |
 |
|
|
subject: HTML:image tag question
|
|
|