August 4, 200917 yr Hi everyone, I'm going to be implementing a drop down type menu, i.e. when I hover over "Our Services", a list of services drop down underneath it. I'm just enquiring about the best way of doing this? I know it's possible with JavaScript, but some scripts are more bloated than others etc. and is it possible with just CSS? Thanks in advance
August 4, 200917 yr I've used a jQuery dropdown for a few navigation menus recently. Not too much code and they work great. I can't find the link where I originally got the script from, but if you visit one of my sites (www.thefruit-box.co.uk) you can use the code from there. It does work if javascript is disabled too. I'll try and find the original link for it and send you it. Alternatively, this one looks quite good too - http://css-tricks.com/simple-jquery-dropdowns/
August 4, 200917 yr There are hundreds of pure CSS drop down menus here:- http://www.cssplay.co.uk/menus/ Most seem to need a conditional comment for IE6 in the markup which isn't very neat, but it works. The advantage of them is that they work when Javascript is disabled whereas javascript menus often don't or they work in a simplified form (but I note that Suckerfish menus as in the last post do work without javascript).
August 4, 200917 yr http://www.smashingmagazine.com/2009/03/24/designing-drop-down-menus-examples-and-best-practices/
Create an account or sign in to comment