PDA

View Full Version : Top level menu problems / submenu ok



hmalpa
08-17-2014, 03:53 PM
I have a problem with my top level menu (submenus are ok). When navigating on the top menu, the menu does not respond to the movement of the mouse. That is not a problem in the submenus. If I move the mouse vertically on the submenus, if navigates great (changes the color fine) that is not the case with the main menu, it tends to get "stuck" meaning it does not highlight the next menu option.

this is my first time in this forum and I hope somebody helps me. I have been looking everywhere for help with no luck. I will upload mi files welcome.html, script.js and styles1.css

thank you,
Henry

Deadweight
08-17-2014, 11:17 PM
In styles1.css replace your lines 301-306 with these:


ul.menu li {position:relative; float:left; margin-right:2px}
ul.menu ul {position:absolute; top:7px; display:none; list-style:none; left:220px;}
ul.menu ul li { border:0px solid #aaa; border-top:none; width:220px;}
ul.menu ul li a {display:block; padding:3px 7px 5px; background-color:#d1d1d1}
ul.menu ul li a:hover {background-color:#c5c5c5}
ul.menu ul ul {left:220px; top:0px}

hmalpa
08-19-2014, 03:29 PM
Deadweight - OMG, thank you, thank you so much.....yes, it works great now. You have not idea how much you have help!

I am new, but if there is anything I can help with, just let me know.

Deadweight
08-19-2014, 04:43 PM
No problem. If you have any more problems just post in a new forum. Anyways, welcome to DHTML.
FYI since i think this is now resolved please read my signature to set this post as resolved. Have a lovely day.