Results 1 to 3 of 3
Feb 7, 2013, 08:25 #1
CSS drop down menus on phone / tablet
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?
Feb 7, 2013, 10:48 #2
- Join Date
- Jan 2003
- Hampshire UK
- 160 Post(s)
- 4 Thread(s)
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.
Feb 7, 2013, 11:22 #3
Thanks for your reply. I think I will avoid them.