Answer the question
In order to leave comments, you need to log in
Hover and link on a mobile device. Why does hover not work and the link is followed immediately?
What am I trying to do?
Multilevel menu. You can click on any item and follow the link, when you hover it is shown under the category.
On the mobile version, when touched, the link works out, Subcategories are not shown. Why ?
I also want to make sure that there is no link on the mobile, but just a menu. An example of a site with a menu as I want to do:
Answer the question
In order to leave comments, you need to log in
TAM describes the event that will occur when clicked.
In the mobile version, you will also need to do
let el = document.querySelectorAll(".menu-a")
el.forEach((e)=>{
e.addEventListener(""click",()=>{
And then what happens when you click on "e"
})
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question