What I do is add a mouse out/over handler to both the image and popup panel.
The mouse out handlers kick off timers that after, say, .25 seconds close the popup if it's open. The mouse over handler on the popup cancels any close timers running and the mouse over handler on the image does the same and also kicks off a timer to show the popup after a short period of time (if the popup isn't currently showing).
Basically, that allows you to move your mouse between the image and the popup in a reasonable amount of time without the popup being closed automatically, but still does allow you to mouse out of the popup and still have it close automatically.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/T0iucSeUBikJ.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to firstname.lastname@example.org.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Post a Comment