Long Menu Problems

Please note that official support for this menu version has now ceased. There are still plenty of users, though, and the forum is still running. Some of our long-time users may be able to help you out.
Post Reply
markjonathan21@cogeco.ca
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Long Menu Problems

Post by markjonathan21@cogeco.ca »

Ok, I have this Menu on my site.

http://home.cogeco.ca/~perringoldeneyes/index.html

I have a section for Cars. I am planning to build a page for every car on the market, but I am having some problems with the menu now. take for instance the Sub Menu Cheverolet in the sub menu of GM in the sub menu of Cars which is in the Perrin's Stuff menu on my site. If the Browser window is not maximised then the menu cuts off a several links within the menu. Can anyone tell me how I am to make it so that none of the menu's items get cut off? I mean the items are there aslong as the entire menu can be viewed in the browser window, but if the window isn't big enough it shows only the links that fit in the window. Please Help... I'm desperate.

P.S. none of the Car links actually work right now.
amitsm@niit.com
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by amitsm@niit.com »

You must be using the offset and not given the top and left positions for the submenu. If we explicitly specify the top and left positions then the menu appears at the correct position.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Long Menu Problems

Post by John »

Amit -

Depending on the size of the window and the length of the menu your solution may or may not work. Better would be to get Andy to implement scrolling menus!


John
markjonathan21@cogeco.ca
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by markjonathan21@cogeco.ca »

Amit ... How do you do that? I see the offset commands your talking about but how do I specifcally set the top and left positions? As you can tell I am not an expert in this kind of things. I only learned this menu by looking for the links and changing them to what I want. Other then that I have no clue as to how to change or modify the code. Please help.
amitsm@niit.com
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by amitsm@niit.com »

Hi Mark,
If you check the code you will be specifying an array where all details of a menu are given...it will be something like :

menu=[// This is the array that contains your menu properties and details
"menu0", // Menu items Name
80, // Top :<b>Y Offset</b>
10, // left :<b>X Offset</b>
200, // Width

.....and so on...
]

If you have fixed items in the menu you can easily check the correct Top and Left coordinates.
tom.landers@sympatico.ca
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by tom.landers@sympatico.ca »

I think he is having the same problem I am, and that is a sub-menu that opens with entries that are off the end of the page.

I'm using a verical menu (aligned on left) and a menu-entry near the bottom opens a sub-menu which has most of it entries unaccessible because the sub-menu runs off the bottom of the screen.

I've tried using the X and Y offsets, but it appears that they are ignored for sub-menus.
markjonathan21@cogeco.ca
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by markjonathan21@cogeco.ca »

That is exactly the same problem I am having. Now only if we could figure out how to solve that problem. I wish they could implement something into the menu like how the Windows Start menu works. When a sub menu gets too long it becomes either scrollable or it starts a new column of menu items.

Anyways if anyone can help in this situation it would be awesome.

Mark
amitsm@niit.com
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by amitsm@niit.com »

Guys, I faced the similar problem but it worked fine when I specified the Top and Left start positions for the sub-menu. I have tested it only on IE5 though. And if my menu entry opens a sub-menu at the bottom of the page then the window scrollbar gets adjusted according to the height of the sub-menu....

I also checked out your link Mark and it seems you have not given top and left positions for any menu except for the mainmenu.

Anyway, it still is a issue though as it can be tough at times to specify the sub-menu coords. I faced a situation where my menu entries came from a database and I had to calculate submenu coordinates at runtime. For this I needed height of a menu entry..but since that was not available I had to do some hit-n-try to get the menu height :)

As John said, it would be great to have a scrollable menu....
markjonathan21@cogeco.ca
Beginner
Beginner
Posts: 5
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by markjonathan21@cogeco.ca »

Its because I don't know how to lol.... I don't really know javascript or DHTNL ... I basically know just the basics. Any help in doing that would be great.

Mark
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Long Menu Problems

Post by Andy »

Scrollable menus are on the way, should be implememted with version 3.4 but it will not be untill next week now :-((

Cheers
Andy
qarellan@co.la.ca.us
Beginner
Beginner
Posts: 1
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by qarellan@co.la.ca.us »

Is there a way to make the menus adjust according to the window size? For example, if the menu is vertically too long, the menu could shift upward to avoid falling below the bottom of the browser window. HierMenus has dynamic padding between the browser window and the menu system.
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Re: Long Menu Problems

Post by Andy »

It's coming soon - just give me a few days to perfect it.

Cheers
Andy
tom.landers@sympatico.ca
Beginner
Beginner
Posts: 2
Joined: Sun May 19, 2002 7:24 pm

Re: Long Menu Problems

Post by tom.landers@sympatico.ca »

My interim solution was to simply move the menu item with the longer submenu higher up in the menu, that way all its submenu items fit on the window. Means the menu isn't in alphabetical order, the way I want it, though.
Post Reply