Is there a size limit for the menu files?

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
Roamina
Beginner
Beginner
Posts: 5
Joined: Fri Dec 14, 2007 10:02 am

Is there a size limit for the menu files?

Post by Roamina »

Hello,

I would like to know if there is a size limit for the menu_data.js file.
As I would like to link as much as possible of my content in the menu and at a certain moment my menu dissapears. :( That is - my file size is over 21KB and if I add more lines to it I cannot see it any more.
I have searched and found out that there is a limit of between 20-30KB, depending on the structure of the menu. What should I do in order to have a bigger one functioning? Is it possible? Should I divide it in two menus? Please help.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Is there a size limit for the menu files?

Post by John »

Please provide a URL to the failing menu so we can take a look.
John
Roamina
Beginner
Beginner
Posts: 5
Joined: Fri Dec 14, 2007 10:02 am

Re: Is there a size limit for the menu files?

Post by Roamina »

Sorry, I should have thought about that. It is http://www.romaniaexplorer.com
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Is there a size limit for the menu files?

Post by John »

Maybe it's because it's still early over here, but I don't find anywhere in that code where you are calling the menu system. I need to see the failure.
John
Roamina
Beginner
Beginner
Posts: 5
Joined: Fri Dec 14, 2007 10:02 am

Re: Is there a size limit for the menu files?

Post by Roamina »

The menu is functioning right now because I cannot afford to let the site without the menu (It is not so early in Romania :D ) but I have tried last night to add the rest and once I add lines and new menu items, the menu does not appear any more. As it is right now it works. But I have more pages to add....
Roamina
Beginner
Beginner
Posts: 5
Joined: Fri Dec 14, 2007 10:02 am

Re: Is there a size limit for the menu files?

Post by Roamina »

The menu is functioning now on http://bucuresti.romaniaexplorer.com. I do not have it on the home page. Sorry again.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Re: Is there a size limit for the menu files?

Post by John »

The first thing you need to do is upgrade your menu code files. You are running v5.777, current is v5.787, so you are 10 versions down-level. Once that is done try adding some additional menus and let us know how it goes. If it still fails please post a test page with the failure somewhere so we can see it.

I've seen menu files bigger than yours - we'll get it figured out.
John
Roamina
Beginner
Beginner
Posts: 5
Joined: Fri Dec 14, 2007 10:02 am

Re: Is there a size limit for the menu files?

Post by Roamina »

I will do that and come back. Thank you.
Post Reply