RC1 First Bug (scroll bars)

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

RC1 First Bug (scroll bars)

Post by Hergio »

Andy,
Ok, I think I may have found the first little bug. Its not entirely painful, but maybe you know why its doing such a thing.
To set you up, I am running IE6 SP1 on Windows 2000.
I placed an alpha filter on my menus, of 90% with the background color being gray. For testing purposes, all my menus have only two items in them so they are not long. When I load up the page, when I see the menus appear, if I mouse over it, a menu appears (fine) but I can see a vertical scroll bar on the right hand side. If I move from menu to menu (without letting them all close out) the scroll bars appear for each menu. When I let them all close and then re-mouseover them, they are gone. They are only visible with the alpha turned on because as I increase the opacity, the scrollbars get tougher and tougher to see. Even when I wait a couple seconds after the page loads, they are still there on the first mouseover, so it doesn't seem to have anything to do with the menu still loading. In my code for the menus, I had nothing mentioning the 'overflow' flag, so then I put it in for the menus with it set to null; still there. Set it to "none"; still there. So I am not sure how to make the scroll bars not appear even though my menus are no where near being too long for the page.

Secondly, how do you make the menu stretch the entire width of the page? In the previous version you had a flag that would, as your comments put it so nicely: "Set the overall width of horizontal menu to 100% and height to the specified amount". I looked in some of your example code and found menuwidth and overallwidth, but neither of them seem to work for me.

These aren't pressing problems but hopefully you'll be able to figure them out easily. Thanks alot!
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Anybody? I have been sifting through the code and have yet to see where its rendering these scrollbars. Andy, you have any ideas?

Also I found an ugly fix for the 100% width problem, but I hope there is a cleaner menu-friendly way. Basically I have all my items along the top and then I put in a blank one, with itemwidth=100% and onbgcolor equal to my offbgcolor so it stretchs across the screen. It does a mediocre job, since it doesn't go all the way to the edge and also the mouse still is a pointer over top of the menu. It will work for now, but is there something to do this like in v3 ?
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply