Re: onmouseover image

2009-01-16 Thread smallufo
I am seeking a solution and found this mail. This is a very useful implementation. I strongly suggest future wicket to include this Component. Thank you , Jeremy -- smallufo 2008/10/8 Jeremy Thomerson jer...@wickettraining.com This doesn't preload the images, but it is a simple way to do a

Re: onmouseover image

2008-10-09 Thread Stefan Simik
AttributeModifier(onmouseout, true, new ModelString(display('+uniqueImageName+', +uniqueImageName+_out);)); add(onMouseOutAtt); } } -- View this message in context: http://www.nabble.com/onmouseover-image-tp19567984p19905061.html Sent from the Wicket - User

Re: onmouseover image

2008-10-07 Thread Jeremy Thomerson
This doesn't preload the images, but it is a simple way to do a Mouseover. You could easily add a header contributor within the constructor of this class that outputs some javascript to preload the images. public class MouseoverImage extends Image { private static final long serialVersionUID =

Re: onmouseover image

2008-09-24 Thread Tim Squires
Thanks Alastair, that's a good idea. AjaxEventBehavior would give the effect but with a round trip to the server. It would be nice to have a javascript only onmouseover where the images are pre-loaded. I'm currently using the wicketstuff-dojo onmouseover-highlight, which is good enough for now.

Re: onmouseover image

2008-09-23 Thread Al Maw
Have a look at AjaxEventBehavior. You can either combine this with an Image component or add an AttributeModifier and manually tweak the img's src attribute. Alastair 2008/9/19 Tim Squires [EMAIL PROTECTED] Hi All, Before I go and write my own component to change the src of an img

onmouseover image

2008-09-19 Thread Tim Squires
Hi All, Before I go and write my own component to change the src of an img onouseover, I just wanted to make sure that there is no standard component. I don't want to re-invent the wheel. Is there a standard component for changing the Image or ImageButton image onmouseover? Thanks, Tim