Hello everyone, I'm trying to create in Dreamweaver a vertical main menu which opens a horizontaly aligned sub-menu for each main menu button separately on mouse click, and stays open untill clicking another main menu button. The apperance of the main & sub menu is based on clickable images I have imported from my images file. each button-image has two states: for the off state & for the hover & clicked (same image). I have attached two screen shots that will best explain the different states of the menu I want. I am stragelling especially with the code for the navigation menu.. I have tried to copy & edit some basic navigation menu codes I found on the web, but I ended up making a mess out of everything.. If someone here can give me an example for the code I need to insert, or can reccomend me on a way to do it, I would be GRATEFUL !!! Lilu
... and there's 99.99% of your problem right there. Throw that overpriced steaming pile of crap's manuals in the trash, make microwave art out of it's discs... grab a normal text editor and work with HTML and CSS the RIGHT WAY. Anyone telling you to do ANYTHING else is packing you so full of sand you could change your name to Sahara. Again the only thing about Dreamweaver that can be considered professional grade tools are the people promoting it's use... there is NOTHING of value you can learn from it, quite the opposite in fact! That said, what you are asking for is simple. Put a list inside a list, set the outermost LI to overflow:hidden, absolute position the inner UL top:0; right:0; (since you seem to want them on the right side), and on hover set those parent LI to overflow:visible revealing the inner UL. Markup would be something like: <ul id="sideMenu"> <li> <a href="#">Section1</a> <ul> <li><a href="#">Sub-Item 1</li> <li><a href="#">Sub-Item 2</li> <li><a href="#">Sub-Item 3</li> </ul> </li><li> <a href="#">Section2</a> </li><li> <a href="#">Section3</a> </li> </ul> Code (markup): I'm currently away from my workstation, but when I'm back there I'll try to remember to revisit this and give you a working example.
Thank you, However, I still dont manage to align the submenu items horizontally to the main menu item (=Section1).