Block is blinking on .hover()
Here is a full example – http://jsfiddle.net/xBEjQ/
How to fix this?
UPD: popup should be removed after the mouse leaved the smaller block (.image), not .popup block.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For updated Question: Since the mouse events won’t occur on that smaller element (it’s completely overlapped) you’d have to use a third
<div>like this:And add this CSS (note the higher
z-indexthan the other.popup):and script to match:
You can test it out here.
For previous question: Since the popup is over top of the element, use the
mouseenteron the trigger,mouseleaveon the popup, like this:You can test it here.