Re[2]: Menu Performance
2005/10/19 17:07
Viewed 7833 times
Replies: 1/6

I used 'lazy : true ' parameter in the menu setup. code for menu setup

menu=DynarchMenu.setup('menu',{electric: 10000, context: true, lazy : true});

When I use lazy parameter, I get javascript error

menu.items.somesubmenu is null or not an object.

Here is the scenario what I am doing,

My page contains lot of div which are dynamically tranformed using xml and xsl.

I enable or diable menus based on some permissions. So when I use the lazy parameter, i think the menu is not getting loaded and I am trying to disable or enable some of the items which are not yet loaded.

Any idea?

Re[3]: Menu Performance
2005/10/19 17:10
Viewed 9242 times
Replies: 1/5

I used 'lazy : true ' parameter in the menu setup. code for menu setup

menu=DynarchMenu.setup('menu',{electric: 10000, context: true, lazy : true});

When I use lazy parameter, I get javascript error

menu.items.somesubmenu is null or not an object.

Here is the scenario what I am doing,

My page contains lot of div which are dynamically tranformed using xml and xsl.

I enable or diable menus based on some permissions. So when I use the lazy parameter, i think the menu is not getting loaded and I am trying to disable or enable some of the items which are not yet loaded.

Any idea?

last
Re[4]: Menu Performance
2005/10/19 17:21
Viewed 10696 times
Replies: 1/4

Used the parameter d_profile: true to verify and I found that the menu load time is increasing gradually.

last
Google