Log in

View Full Version : Missing code in CSS file for Smooth Nav Menu



kwat
01-24-2011, 08:46 PM
1) Script Title: Smooth Navigational Menu (v1.5)

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

3) Describe problem:
The css file for the vertical menu (ddsmoothmenu-v.css) is missing a small bit of code which the horizontal menu (ddsmoothmenu.css) contains. This missing code causes the position of the arrows in the vertical menu to slide over instead of remaining in a fixed position as your example shows.

Here is the code which is in the horiz menu, but not the vertical one:



/* ######### CSS classes applied to down and right arrow images ######### */

.downarrowclass{
position: absolute;
top: 12px;
right: 7px;
}

.rightarrowclass{
position: absolute;
top: 6px;
right: 5px;
}


Of course, the vertical menu does not make use of the down arrow, so that section could be left out.

Thanks for all your scripts and help.

kwat