Answer the question
In order to leave comments, you need to log in
How to fix or replace mouseenter and mouseleave js in mozilla?
On the page your-webmasters.com/demo/velo/index.php you can see a dropdown basket when hovering over the button.
For this, I used the construction
// Cart drop down
$(".m-cart__drop").mouseenter(function () {
$(".m-cart__dropdown").slideDown();
});
$(".m-cart").mouseleave(function () {
$(".m-cart__dropdown").slideUp();
});
$(".m-cart__drop").on("click", function () {
return false;
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question