Board Logo

how can I handle large tree_items.js files?
radubogdan - 10/28/2005 at 07:53 AM


I'm new to tigra menu and I am trying to load thousands of items in the tree_items.js file. But It gives me "Unterminated string constant" javascript error. I tried to escape ", ', n and r, but it still does not work. Is the file too large? It has about 350 KB. In some cases it works (for example for files less than 20 KB). What can be the problem?


rock - 10/28/2005 at 09:08 AM

No, size is not the issue. Check string termination carefully (editors with syntax highlighting could be useful)

Back to forum: