[jQuery] How to make IF statment using jquery hover conditions???
ok I have a website that I am working on.
What I have is a users image and used jquery lib to use the hover
event. I want a menu to fade in and out when your mouse is over the
image.
I now notice I need a If not statement. I want to check that if the
mouse is not on the users image or the faded in menu then the menu
will fade out.
Right now I can only put my house over the users image and the menu
will fade in but when I go to put my mouse on the menu the menu then
fades away.
Any Idea how I can do this??
I know that if statement in javascript is like: if(!(condition)){do
this}
but I been trying to figure out how to plug it in as a condition??