Main menu onclick for touch screens advice

Hello

We’re currently rebuilding our main website and navigation for mouse and touch screen and thinking about using unordered lists. I’m not sure whether we can use unordered lists for ‘onclick event’ to toggle the visibility and perhaps this is not best practice.

Does anyone have a good example or know of a website using onclick event for their fixed horizontal navigation menu which also includes a sub-menu?

Thanks so much.

Not exactly sure what you want, but there are some nice scripts out there:

http://responsivenavigation.net/

To change a normal CSS dropdown into one suitable for touch and mouse you basically need to change the hover function into a click function and then it will work for most devices. Most of the JS click menus will work for touch also.

Wonderful, thank you very much. Just what I needed.
Cheers

Thank you