Re: Menu Performance
2005/10/19 16:39
Viewed 6354 times
Replies: 1/7

Try using the "lazy" parameter.

In any case, what you describe happens usually in Internet Explorer due to memory leaks. We carefully designed our menu to avoid such leaks, but if other code on your page leaks memory then you'll get the same results...

Re[2]: Menu Performance
2005/10/19 17:07
Viewed 7832 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?

last
Re[3]: Menu Performance
2005/10/19 17:10
Viewed 9240 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
Google