Link to home
Start Free TrialLog in
Avatar of pwill40
pwill40

asked on

Creating a horizontal menu system

Hi,

I want to be able to have a horizontal menubar accross the top of a page.  (It will effectively look like a table with 1 row in it.)  When you select an item from this menu, I need to change the colour of this option (the cell background colour??) and bring up a submenu.

Instead of having a dropdown submenu (I've seen lots of exmaples of this) I want to have a horizontal submenu (again it will look like a table with 1 row in it).  When different items are clicked in the main menu I'd like it to change the contents of this submenu.  

Any help appreciated.

Many thanks,
Paul




Avatar of avner
avner

Avatar of pwill40

ASKER

This doesn't seem to do what I want.  I want the menu to be horizontal accross the top of the page and the submenu (whichever submenu is currently chosen) to be displayed (all the time, not on a dropdown), horizontally directly below the main menu.

Thanks,
Paul
Great menu suggested by avner, but I think that only works in IE55 and above. Try the following link:

http://www.dynamicdrive.com/dynamicindex1/index.html

This has a bunch of menu systems - you can probably find one to suit your needs that works with NN4+ and IE4+.
Avatar of pwill40

ASKER

Definitely getting closer.  The menu below is close to what I need but I'd like it so that the submenu is only activated onclick of the mainmenu not onmouseover and that the sub menu doesn't dissapear after a set period of time.  

Thanks for your help I've only just started using javascript.

http://www.dynamicdrive.com/dynamicindex1/tabmouseover.htm
ASKER CERTIFIED SOLUTION
Avatar of bjrcreations
bjrcreations

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of pwill40

ASKER

Thanks,  That was pretty much what I was after.