I am trying to implement a quick view tab that appears when a customer hovers over a product. I have almost figured it out, but the issue is that once the mouse moves onto the quick view div button, it starts to fade away because technically it has moved off the trigger div. How can I make sure it stays visible?
Below is the jQuery code I am using:
$("#cat_product").hover(
function () {
$(".quickview").fadeIn();
},
function () {
$(".quickview").fadeOut();
}
);
Here is the link to the fiddle where I am testing things out - https://jsfiddle.net/a0j96wyc/