Mouse over images on buttons in Struts

2002-01-16 Thread Tony

Hi

I want to have a mouseover effect on a button.  When the mouse is not over the button 
the button should display graphic A, when the mouse is over the button the graphic 
should be graphic B.  What is the best way to do this with struts.
I have had a look at the
html:button  

tag but am not having much luck getting it to work for me.  Should I use Struts for 
this, or plain javascript?



-- 


Cheers

Tony
-


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Mouse over images on buttons in Struts

2002-01-16 Thread David M. Karr

 s45652001 == s45652001  Tony writes:

s45652001 Hi
s45652001 I want to have a mouseover effect on a button.  When the mouse is not 
over the button the button should display graphic A, when the mouse is over the button 
the graphic should be graphic B.  What is the best way to do this with struts.
s45652001 I have had a look at the
s45652001 html:button  

s45652001 tag but am not having much luck getting it to work for me.  Should I 
use Struts for this, or plain javascript?

The html:button tag has a onmouseover attribute, which can be used to
specify the javascript to execute on the mouseover event.

-- 
===
David M. Karr  ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; BrainBench CJ12P (#12004)


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]