HTML & CSS
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?
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.
Thanks for your reply. I think I will avoid them.
This topic is now closed. New replies are no longer allowed.