Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

TUTORIALVaadin lets you build secure, UX-first PWAs entirely in Java.
Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Calling javascript synchronously by Enver Haase, 1 month ago
Hiding a panel behind an image
Hi,
I have a panel with some buttons inside it. I want to have an image over the panel, which disapears when the mouse goes over it. How do I do this?
Regards
Daniel
Last updated on
There are two ways, one of them unnecessary complicated (creating a client side widget). I would probably do this with CSS; add the image to the panel child layout (preferrably a CssLayout), position the image to cover the panel content, and then add a CSS rule that says when you hover over the panel, the image gets display:none;
Last updated on
You cannot reply to this thread.