What is the status of the "overallwidth" menu prop

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Marc-Andre.Roberge@mus.ul
Super Advanced
Super Advanced
Posts: 47
Joined: Sun May 19, 2002 7:23 pm
Location: Québec, QC, Canada
Contact:

What is the status of the "overallwidth" menu prop

Post by Marc-Andre.Roberge@mus.ul »

Your search facility (probably not absolutely up-to-date as I write this) returns a link to <http://milonic.com/menuproperties.php> for the word "overallwidth" variable that, some time ago, was found under no. 18 (as far as I can remember) but did not seem yet implemented. It no longer appears in the current documentation. Has it actually been removed or replaced? Is there a link between this variable and the "itemwidth=100%" setting (to cause menu bar to extend to the right edge of the screen) that, as of RC14, has yet to be fixed? Let's hope it will be part of RC15.
tepidarium
Mega User
Mega User
Posts: 169
Joined: Sun Oct 05, 2003 4:21 am

Post by tepidarium »

I'm interested in the overallwidth parameter as well because I would like to specify an absolute pixel value for the width of the entire menu as a whole and I don't see a way to do it.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I haven't seen overallwidth mentioned much as of late. This may be a sign its been dropped in favor of setting the width of the menu based on the sum of the widths of the items it contains. But don't quote me on that, MrMilonic is the guy who has the final say. It could be looked at this way...if you can set overallwidth by setting the itemwidth of five items in a menu, then theres no need to support overallwidth. It just increases the size of the menu's source code unnecessarily to have to check for it and parse it if you can do it by other means. And it gives users the ability to mess with and confuse the menu, by setting itemwidths and overall widths that do not correspond correctly.

Its actually a common design theme in designing of programs and databases....if you can calculate something from data you already have, then theres no need to store it...its known as aggregate data. Keeps things smaller and simpler. But then again, to increase the useability of the menu and simplicity for users, it may be necessary. Stay tuned. ;)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Overall width has been done but it isn't built into the menu.

The way we do ot now is by adding a 100% table in HTML and embedding the menu inside it. It gives you much more control.

Once we've cleared our backlog I'll get a demo posted.

I'll try for later this week

Cheers
Andy
Post Reply