This content has been marked as final.
Show 2 replies
-
1. Re: Open rich:popupPanel on current mouse cursor position using jquery
sivaprasad9394 May 13, 2013 1:10 AM (in response to smoking81)As per my understans once the pop up is opened using onclick or onmouse over,After opening itmouse cursor pointer should be displayed in popup's top right corner Close button??
OR
do you need to display the close button in top right corner pf popup?
Thanks,
Siva
-
2. Re: Open rich:popupPanel on current mouse cursor position using jquery
smoking81 May 13, 2013 3:44 AM (in response to sivaprasad9394)Hi! No I didn't explain myself so good, sorry..
I just would like that when the user clicks the button, the popupPanel receives the coordinates of the current mouse position (through a4j:param)... The problem with my code is that if I use directly the openBtn position (
jQuery(#{rich:element('openBtn')}.parentNode).offset().top)
, when the button appears very down in the page (imagine the user has to scroll down before visualizing it) the popup won't be visible..Thanks again!