Re: Is ImageSubmit + Rollover possible ?
"Howard M. Lewis Ship" <[email protected]> Sun, 5 Jan 2003 14:44:37 -0500
| Newsgroups | gmane.comp.java.tapestry.devel |
|---|---|
| Message-ID | <013b01c2b4f2$e1c93360$3dc41e42@howardczkz2sl3> |
This is tricky do do because there's "hole" in JavaScript that makes scripting image submit buttons difficult. ----- Original Message ----- From: "Rajesh Anneswamy" <[email protected]> To: "'Howard M. Lewis Ship'" <[email protected]> Cc: <[email protected]> Sent: Sunday, January 05, 2003 2:30 PM Subject: RE: [Tapestry-developer] Is ImageSubmit + Rollover possible ? > Hi HMLS, > > Is it possible to make the ImageSubmit use a Rollover component, instead of > only a static image ? > > My ImageSubmit button is working but I would like to make it change its > image on "focus" similar to the functionality provided by Rollover. > > Something like this: > > <component id="addButtons" type="Rollover"> > <binding name="image" expression="assets.addButton"/> > <binding name="focus" expression="assets.addButton_pressed"/> > </component> > > <component id="addPortletButton" type="ImageSubmit"> > <binding name="image" expression="addButtons"/> > </component> > > Thanks!. > Rajesh. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf