Answer the question
In order to leave comments, you need to log in
How to implement tooltips for touchpads?
For menu items on mouseover and mouseout events, a div with a tooltip is shown or hidden. Works great on desktop. And for the touchpad, the tooltip behaves unpredictably. Either the menu click is immediately processed without a hint, or the hint is shown and hangs, does not hide, interfering with viewing the content ... Who does what? A minimal example is desirable, because I'm not very good at js ..
Answer the question
In order to leave comments, you need to log in
There is no hover event on touchpads. So either drop this idea or do a click event
$("#callback").submit(function() {
var form = this;
$.ajax({
...
}).done(function() {
form.reset();
});
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question