The height of my submenus in the site navigation bar is not correct.
Return to Recent Questions
Q:
The submenu should look identical to the site navigation bar but it is not
allowing this.
Even though parameters are set to 0 it is showing smart scroll and also
not showing the sub menus how they should be.
I also notice and error in the templates window view when I am looking
at the site navigation bar.
A:
You've set the exact width for your submenus:
var smHeight="21px"; // it is the height of the whole submenu
It is not right.
Try to write:
var smHeight="";
> I also notice and error in the templates window view when I am looking
> at the menu.
Now you have:
var pressedItem="";
It is not correct. Try to set:
var pressedItem="-2";
See the attached example.
Return to Recent Questions
Related:
- May 16, 2009 - The alignment of the submenus is not correct in my menu using java script.
- Jun 11, 2009 - The Norwegian characters are not showed in the dhtml expandable menu correctly.
- Jul 05, 2009 - My css submenu submenu is not display at the correct position with Firefox.
- Aug 31, 2009 - In IE 6.0 and Firefox, the submenus of my vertical menu bar are not visible
- Oct 23, 2009 - The alighment of the collapsing menu is not correct in Firefox...
- Dec 17, 2009 - In IE 6.0 and Firefox 1.5.0.4, the submenus of my net dhtml menu are not visible.
- Jan 28, 2010 - I have spanish characters that are not showing up in my menus in dhtml correctly.
- Feb 15, 2010 - The pull down menu java doesn't show the drop down sub items.
- April 19, 2010 - Is there a way to expand only the vertical dhtml menu and not the submenus?
|