Hello!
I have created a CSS menu, but I need to know how to add submenus to it. For instance - clicking on a link would display/hide a submenu beneath it, with the lower links moving down/closing up to accomodate.
Here's my basic menu system - the links are dummy links at the moment: [click]
Can anyone help? Thanks in advance.
Adding submenus to navigation
OK, I found a bit of Javascript that does the job - but now I have a new problem!
It all works fine in Firefox, but completely messes up in IE! lol
Adding submenus to navigation
OK - I figured out what the problem was - all I needed to do was decrease the width of the hidden DIVs by a couple of pixels, and it works fine in IE.
So now I have a new question - how could I use cookies to store the open/closed states of the DIVs so that the expanded sections stay expanded when on a new page?