Hello,
how is the right hideEvent for the p:overlayPanel.
I want to implement a overlayPanel like facebook for example a user:
hover the link -> the overlay will appear
outside the overlay -> the overlay will disappear
How can I do this.
Thank you very much for your help
Correct hideEvent at p:overlayPanel like facebook
-
- PrimeFaces Core Developer
- Posts: 3979
- Joined: 03 Dec 2010, 14:11
- Location: Bavaria, DE
- Contact:
mouseover/mouseout?
Thomas Andraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
PrimeFaces | PrimeFaces Extensions
Apache Member | OpenWebBeans, DeltaSpike, MyFaces, BVal, TomEE
Sponsor me: https://github.com/sponsors/tandraschko
Blog: http://tandraschko.blogspot.de/
Twitter: https://twitter.com/TAndraschko
thank you for your answer. But it isn´t that what I want.
Because I want to implement some links (e.g. to the userprofile or something like this) in the overlaypanel.
But if I mouseover the overlaypanel -> the overlaypanel will also disappear.
A live demo you could see at facebook if you mouseover a username.
Because I want to implement some links (e.g. to the userprofile or something like this) in the overlaypanel.
But if I mouseover the overlaypanel -> the overlaypanel will also disappear.
A live demo you could see at facebook if you mouseover a username.
PF 8.0
No, non other then being creative with mouse events, like instead of closing on the mouseout of the panel, close it on the mouse over of the body or something similar. Not really PF related. Would be a 'problem/challenge' with plain html as well
- andyba
- Expert Member
- Posts: 2473
- Joined: 31 Mar 2011, 16:27
- Location: Steinfeld, near Bremen/Osnabrück, DE
- Contact:
Use tooltip.
PF 4.x (Elite versions), PF 5, Pf 5.1, PF 6.0
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
Glassfish 4.1, Mojarra 2.x, Java 8, Payara 4.1.1.
If you haven't read the forum rules read them now
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests