HI I am using jquery to use the hover event and the fadeIn fadeOut effects.
the problem I get is that I want to use this on a image this image is the users image and I want to fade in a menu to edit the image or other settings ect the problem I face is that I want to use a if statement. The reason is because I want to check if the users mouse if off the user image and is not on the menu then the menu would fade out. Right now I can only have the user image when mouse is over it... it would fade in the menu and when I try to put the mouse over the menu it would fade out since the mouse went off the user image to go on the menu. I also played around with the code and was able to when the mouse is over the user image the menu appears but when my mouse goes off the users image but not no the menu the menu still appears dosen't fade out. I know I have to use a if statement on the fade out part so I can control that the menu only fades out if the mouse is not on the user image and is not on the menu. so the mouse has to be either on the user image or the menu itself in order to have the menu be shown. any Ideas what I can do??? I know javascript and I know I need a if not statment which would be like this if(!(condition)){do} any Ideas on how to do this????