menu grows in table, how do i stop it?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
biographie
Advanced
Advanced
Posts: 17
Joined: Thu Oct 17, 2002 7:41 am

menu grows in table, how do i stop it?

Post by biographie »

check out my website: http://www.onsightimages.biz

At the moment I am just trying to get the functionality I am looking for (none of the links go anywhere yet).

When you roll over the menu, it grows/extends slightly out to the right, and it makes everything on the page shift to the right. How do I keep this from happening?

I have tried to compare my menu_data.js file to examples Andy has made. I have been comparing specifically to the table_data.js and xpmenu_data.js files. I can't figure out what I am doing different, but I did notice that the table.html example Andy has also does the same thing. Is this expanding problem because it is in a table? The xp menu doesn't have the same issue.

Also, the expanding only seems to happen on the top bar level. None of the submenus experience this weird thing. The submenus just show-up much like the menus in the xpmenu. This has to be a setting that I am missing....
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

It's because of the fat black border you in the menu that appears on a mouseOver. Remove the border.
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

YOu can either remove the border all together or put in a offborder characteristic that would make the fat black border a fat white border when moused out of. That way the widths would all remain constant and your menus would not shift. The reason its happenin on your top level and not the others is because thats the only menu that has menus butted up against eachother length-wise.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Post Reply