Thursday, August 4, 2011

Re: IE8 - Not working - Mouse event for ListBox

Mouse events are not fired on Option elements in IE. I'm not sure
there's even a workaround either if you need to use a Select box.

http://stackoverflow.com/questions/2064011/select-option-hover-is-not-working-in-ie

On Aug 4, 4:58 am, Ash <ashly....@gmail.com> wrote:
> Guyzz.... any help??
>
> Thanks,
> -ash
>
> On Aug 3, 5:54 pm, Ash <ashly....@gmail.com> wrote:
>
> > Hi,
>
> > I'm using a list box which has many URLs for image. When someone move
> > the mouse through the drop down values, I need to show the image in an
> > HTML box. This works fine (MouseMove) in Firefox, but does not work in
> > IE8.
>
> > The below code represents the test case, and none of them gets
> > called / fired in IE8.
>
> > Can someone please help me to sort this out. I'm using GWT 2.0.3.
>
> >             ListBox listItem = new ListBox();
> >             listItem.addMouseMoveHandler(new HandlesAllMouseEvents() {
>
> >             public void onMouseDown(MouseDownEvent event) {
> >                 Window.alert("On Mouse down...");
> >             }
>
> >             public void onMouseUp(MouseUpEvent event) {
> >                 Window.alert("On mouse up...");
> >             }
>
> >             public void onMouseMove(MouseMoveEvent event) {
> >                 Window.alert("On mouse move...");
> >             }
>
> >             public void onMouseOut(MouseOutEvent event) {
> >                 Window.alert("On mouse out...");
> >             }
>
> >             public void onMouseOver(MouseOverEvent event) {
> >                 Window.alert("on mouse over...");
> >             }
>
> >             public void onMouseWheel(MouseWheelEvent event) {
> >                 Window.alert("on mouse wheeel....");
> >             }
> >         });
>
> > Thanks,
> > -ash

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment