Please excuse my as I am not very experienced with using javascript. I have wordpress website and I would like to find way and help me to create shadow popup box with close button and when visitor with pointer of the mouse try to click on close button X before to click shadow popup box to to disappear/close once. However, I would also like the popup not show on the same visitor more than two times. Shadow popup box to show once or twice time per day. Cookie time to be removed after 24h automatically and the same visitor to see the popup again after 24h. I hope someone can help me.
Thank you.