Need a help Jquery On hover

Problem:
I want to change a div background color on hover event but I want to wait 3 second after hover on div. If I stay 3 second on hover the div then background color will change unless stay less than 3 second background color will not change.

Can any body help me about this problem. I will appreciate your help.

Thanks

Does the background need to STAY changed if they move off of t? If not, you can do this in plain CSS. But here is a jQuery solution that keeps hte change.

http://codepen.io/ryanreese09/pen/oXBKrz

Again, if you don’t want to keep the change, then you can very easily do this in CSS.

Hi RyanReese,
Thanks for your answer. Yes I need to STAY changed if they move off of it. If move then background color will not change unless another time it hover for 3 second.

Hope you understand.

Thanks

Then use my codepen I linked to.

Thank you very much :slight_smile:

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.