Calling Web Development Gurus - How to Build This?
Calling Web Development Gurus - How to Build This?
Author
Discussion

roadsweeper

Original Poster:

3,790 posts

305 months

Monday 3rd May 2010
quotequote all
I really like the website menu style where hovering over a top-level menu option opens a pane with further options in columns across as used on the VMware website - e.g. hover over 'Virtualize' and a whole set of options open up.

Does anyone know of any tools that can be used to create this and whether it can be done via CSS only? Alternatively, if you can build something similar, I'd be interested in talking to you.



rpguk

4,520 posts

315 months

Monday 3rd May 2010
quotequote all
It's mainly CSS, I'd imagine that all those sub menus would just be regular div's with the CSS 'display' variable set to 'none'.

On rolling over each item on the main menu a bit of javascript would set the display value of the relevant div with the sub menu information to 'block' (and all others to 'none')

Fairly simple code although I don't really use WYSIWYG editors so don't know if it can be done manually.

American iv

468 posts

227 months

Monday 3rd May 2010
quotequote all
Two options, CSS or JavaScript. Both have upsides and downsides...

A couple of examples I've just found on google...

jQuery plugin : http://users.tpg.com.au/j_birch/plugins/superfish/
"Pure CSS" : http://purecssmenu.com/

Just make sure you have graceful failure for older or none-compliant browsers (e.g. Safari on the iPhone or any other touchscreen device).

-DeaDLocK-

3,368 posts

282 months

Monday 3rd May 2010
quotequote all
This one is Pure CSS and pretty flexible:

http://www.cssplay.co.uk/menus/pro-droplist.html

Unfortunately it includes IE hacks.