T
T
TitNIk2017-03-19 18:20:05
JavaScript
TitNIk, 2017-03-19 18:20:05

How to determine the touch. jquery devices?

Good day to all. There is a drop-down menu, lists drop out when you hover over a menu item, and when you click on the main link, it goes to the main category, everything works on a regular hover.

On devices with touch, this does not work very well, is it possible to somehow determine whether the device is touch or not, and if with touch, then assign a class to a specific element? Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
game802, 2017-03-19
@game802

Question answer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question