Back To Start Of Archive
Taken From The Forum: Help & Support for DHTML Menu Version 5+
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:25
Is there a size limit for the menu files?
Poster: Roamina
Dated: Friday December 14 2007 - 9:17:33 GMT
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.
Re: Is there a size limit for the menu files?
Poster: John
Dated: Friday December 14 2007 - 12:35:30 GMT
Please provide a URL to the failing menu so we can take a look.
Re: Is there a size limit for the menu files?
Poster: Roamina
Dated: Friday December 14 2007 - 12:37:29 GMT
Sorry, I should have thought about that. It is http://www.romaniaexplorer.com
Re: Is there a size limit for the menu files?
Poster: John
Dated: Friday December 14 2007 - 12:45:40 GMT
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.
Re: Is there a size limit for the menu files?
Poster: Roamina
Dated: Friday December 14 2007 - 12:49:19 GMT
The menu is functioning right now because I cannot afford to let the site without the menu (It is not so early in Romania ) 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....
Re: Is there a size limit for the menu files?
Poster: Roamina
Dated: Friday December 14 2007 - 12:53:08 GMT
The menu is functioning now on http://bucuresti.romaniaexplorer.com. I do not have it on the home page. Sorry again.
Re: Is there a size limit for the menu files?
Poster: John
Dated: Friday December 14 2007 - 13:24:32 GMT
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.
Re: Is there a size limit for the menu files?
Poster: Roamina
Dated: Friday December 14 2007 - 13:26:14 GMT
I will do that and come back. Thank you.