In making a drop down menu, there are jQuery menus like superfish and pure CSS menus. Is there any difference between JS menus and CSS menus?
I don't need onclick
event to overwrite the default anchor. I just need to be able to click the menu item then follow the <a href="...">...</a>
to another page.
Differences:
From a philosophical standpoint, CSS is really about styling, JS about interaction. However, now that WebKit has gone full-throttle with CSS transitions, that line has blurred quite a bit.
In the end, it's great to use CSS as much as you can, then add JavaScript for that added level of polished interaction. Things like keyboard navigation...subtle delays to allow a mouse to travel from one link to the next...animations, etc.
An obvious difference is that JS menus are a lot more customizable. You can't control things like how fast a menu appears using just CSS.
Even thought I am a developer, I always try to avoid programming at all.
I think I will go with a CSS menu that will show the drop menu DIV using the onHover event.
JavaScript could be influenced by other apps, maybe duplicating variables. And you can port it easily to mobile devices that usually don't support JS