davejuk — 2013-02-07T09:25:23-05:00 — #1
I have a client who is really keen on having a drop down menu. I'm not convinced this is a great idea because there is (as far as I am aware) no concept of hovering over a link on touch screen devices.
Should CSS drop down menus be avoided or is there a good way of implementing them that works with touch screens as well as it does with a mouse?
paulob — 2013-02-07T11:48:15-05:00 — #2
Drop down menus are not usually the best solution anyway so if you can avoid using them all the better.
Some devices (iphone, ipad) will allow dropdowns to work (such as this one) if they have been constructed with links in place and tapping the item will show the dropdown and then a link can be selected from the dropdown with anther tap. The problem arises in that if you decide not to navigate away the menu stays open and will only close if you click another link somewhere on the page. Therefore an option would be to script the hover function as a click function for touch devices.
Stu Nichols has some examples for the iDevices here.
davejuk — 2013-02-07T12:22:38-05:00 — #3
Thanks for your reply. I think I will avoid them.