javascript - joomla popup that should close only by click button -


i using popup anywhere plugin in joomla. have display article page detail on popup @ time of user log in. here popup close on click out side of popup screen also, dont want this. popup should close @ time of clicking "agree" button article have.

please let me know if have other plugins or ideas.

this should prevent window being closed clicking away element:

$('#your-close-button').click(function(e){   e.stoppropagation(); }); 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -