1 reply [Last post]
webman81
webman81's picture
Offline
Regular
Last seen: 4 years 49 weeks ago
Timezone: GMT+2
Joined: 2012-03-26
Posts: 16
Points: 28

I always use this CSS code to show my dropdown menu:
ul li:hover ul{display:block; position:absolute; top:50px; background:#353d48; padding:0 20px;}

This code does not work for iPad, because it has no :hover state
I cannot find the solution. Anyone? Sad

Tony
Tony's picture
Offline
Moderator
Brisbane
Last seen: 1 week 4 days ago
Brisbane
Timezone: GMT+10
Joined: 2003-03-12
Posts: 5343
Points: 2964

Hi webman81, You are probably

Hi webman81,
You are probably going to need to use javaScript or restructure your menu so hover is not needed.

http://stackoverflow.com/questions/2851663/how-do-i-simulate-a-hover-with-a-touch-in-touch-enabled-browsers