hugh
07-25-2009, 02:26 AM
Smooth Navigational Menu
http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
This script works fine and dandy....until I try and remove the sub-menu shadow from the css file. the lines I remove are at the bottom:
/* ######### CSS for shadow added to sub menus ######### */
.ddshadow{
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: silver;
}
.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.8;
}
Remove those lines from the CSS file and as soon as you mouseover a link which has sub-menus, the whole menu system jumps up and down like a demented frog!
I haven't a clue what's going on, I'm only removing some shadow selectors. I don't want shadow effects.
Try it yourselves! I tested in Safari, Firefox and Camino on a Mac and it leaps about on all three.
Hugh
http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm
This script works fine and dandy....until I try and remove the sub-menu shadow from the css file. the lines I remove are at the bottom:
/* ######### CSS for shadow added to sub menus ######### */
.ddshadow{
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
background: silver;
}
.toplevelshadow{ /*shadow opacity. Doesn't work in IE*/
opacity: 0.8;
}
Remove those lines from the CSS file and as soon as you mouseover a link which has sub-menus, the whole menu system jumps up and down like a demented frog!
I haven't a clue what's going on, I'm only removing some shadow selectors. I don't want shadow effects.
Try it yourselves! I tested in Safari, Firefox and Camino on a Mac and it leaps about on all three.
Hugh