dovidj
Junior Member
Posts: 3
Registered: 8/29/2006
Member Is Offline
|
| posted on 8/30/2006 at 12:56 PM |
|
|
error message
HI,
I'm dynamically creating the menus.
I get this error:
this.A.K.block_left has no properties in firefox
and
this.A.K.block_left is null and not an object in IE
I take the source of the page and run it on my desktop as
a static page and runs fine
Any help would be great.
thanks
David J.
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/30/2006 at 01:29 PM |
|
|
Unless for the timing there is no difference for the browser between the configuration pulled from the static file or generated by the server. Use
alerts to see if config variables are present before they're fed to the constructor.
|
|
|
dovidj
Junior Member
Posts: 3
Registered: 8/29/2006
Member Is Offline
|
| posted on 8/30/2006 at 02:06 PM |
|
|
Hi,
I"m not too sure how to do that. Could you pls provide some help on where to start.
Thanks
David J.
|
|
|
tigra
Administrator
Posts: 1982
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 8/30/2006 at 10:25 PM |
|
|
block_left is part of the template configuration variable. you can check if it gets to the menu by alerting it:
alert(MENU_TPL);
new menu(MENU_ITEMS, MENU_TPL);
What menu product and version do you use btw? You can find that info in menu.js file. It is possible that there are more levels in the menu hierarchy
than described in the template. Tigra Menu v1.0 and Tigra Menu PRO don't inherit parameters from parent level if not defined explicitly. This may
cause the error like this.
|
|
|