Sunday, May 27, 2012

Help to implement behavior for popup widget.

Hello, 

I do not succeed to implement condition (2) and (3) of my popup widget (it looks like a "rich" tooltip with links inside it)

(1) the popup is shown when the mouse is over the image (it is ok, I added MouseOverHandler on the image)
(2) the user can click on links that are inside the popup (so the popup does not desapear when the mouse is inside it)
(3) the popup is hidden when the mouse goes outside the image AND is not inside the popup.

Actually, I need to click outside the popup to hide it, and I tried to do it adding many mouseHandler and a Focus Panel inside the popup widget but I have not the result excepted. Maybe you will the see the solution more simple ? Thanks you.

--
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/-/Cpq8eNGPAWIJ.
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