ran into a wall and need some help
I am working on a project, and basically.. when you hover over the image, I need it to "pause". When you mouse out, it toggles back.
I have this working once... but because I am unbinding the event, It only works once.
Can steer me in the right direction? Would be greatly appreciated
here is my snippet:
$("#card1").mouseenter(function(){
$("#overlay1").css("z-index","30").show("slide", { direction: "down" }, 700);
$("#pope1").css("z-index","30").hide("slide", { direction: "down" }, 700);
$(this).unbind("mouseenter")
});
$("#card1").mouseleave(function(){
$("#overlay1").css("z-index","30").hide("slide", { direction: "down" }, 700);
$("#pope1").css("z-index","30").show("slide", { direction: "down" }, 700);
$(this).unbind("mouseleave")
});