overflow="scroll" does not work on main menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
luegner
Advanced
Advanced
Posts: 21
Joined: Fri Dec 12, 2003 6:49 pm

overflow="scroll" does not work on main menu

Post by luegner »

I am guessing that this is a bug but scrollbars don't appear when setting overflow="scroll" on a really long vertical main menu (submenus work fine).
User avatar
Ruth
 Team
 Team
Posts: 8763
Joined: Thu May 15, 2003 5:02 am
Location: Yucaipa, CA
Contact:

Post by Ruth »

A site to check it out would help a lot...there's no way to see without the files what's going on or why it's happening [or not as the case may be] :)

Ruth
luegner
Advanced
Advanced
Posts: 21
Joined: Fri Dec 12, 2003 6:49 pm

Post by luegner »

I grabbed the menu from milonic since you need something to look at. As you can see the scroll bar does not appear on the main menu but it does appear on submenus in which overflow="scroll" is specified.

http://members.cox.net/~faramir/


Someone might want to check out my other post as well which states that when using Mozilla/Gecko/Netscape 6+, the scrollbar appears but you can only use it for a second as the menu disappears when you are scrolling. You can observe this behaviour on this site link I posted as well.
luegner
Advanced
Advanced
Posts: 21
Joined: Fri Dec 12, 2003 6:49 pm

Post by luegner »

I did some testing and there seems to be a direct correlation between the scrollbars not appearing and the menu being set to alwaysvisible=1. So it does not matter if it's the main menu or a sub menu. Overflow="scroll" simply does not show scrollbars when that particular menu has the alwaysvisible=1 setting.
luegner
Advanced
Advanced
Posts: 21
Joined: Fri Dec 12, 2003 6:49 pm

Post by luegner »

Actually I figured out what the issue is. There needs to be a menuheight option for the menu to have overflow scrollbars on the root menu.
Post Reply