|
Is there a way to optimize the javascript menu drop down to reduce the loading time for submenus?
Return to Recent Questions
Q:
I'm using your javascript menu drop down in cross frame mode. It works very good except a couple issues.
Does the dmObjectsCheck option work in cross frame mode? I have it set =1 and the submenus still underneath
objects (such as select list) which have a higher z order.
After loading a new page in the sub menus window
when I go back to the main menu to select another option it takes several seconds for the javascript menu drop down to come up.
Once the delay of loading the initial submenu is over it loads all
others very quickly until a new page is loaded again. Is there a way
to optimize the javascript menu drop down to reduce this load time? I have already set
dm_writeAll=0 but that only increased the speed of the initial
display of the main javascript menu drop down.
A:
Dhtml Menu overlap select objects in cross-frame mode correctly.
Try to do the following:
move all <script> calls into <head>, but delete dm_initFrame()
function from data .js file -- move them instead of files calls, i.e.:
<head>
<script src=data.js>
...
</head>
...
<div><script>dm_initFrame("frmSet", 1, 2, 1); </script></div>
It this case data will be loaded when <head> will load, but after that
menus must be shown quickly.
Let me know about results.
Return to Recent Questions
Related:
- Apr 10, 2009 - Do we have to change the domain key each time we move the javascript drop down menus...
- Jun 02, 2009 - I do not want to change every page with the menu each time I need to make changes in script tree menu...
- Jun 15, 2009 - I wonder how I can reduce the width of the tree css dynamic menu?
- Sep 18, 2009 - I want that dhtml menu editor expanded or collapsed and go to the link at the same time...
- Sep 25, 2009 - I have created the java drop down menu multiple times but every time it comes up with the error.
- Nov 01, 2009 - If there is a way of establishing the width at "runtime" in the drop down menus javascript?
- Nov 16, 2009 - I have some questions about the loading of ajax menu html code.
- Nov 23, 2009 - I have created the menus in javascript multiple times but each time it comes up with the error.
- Jan 06, 2010 - How can I expand simple dhtml menu and open link in a frame at the same time?
- Feb 14, 2010 - I have created the drop down menu code multiple times but every time it comes up with the error.
- March 1, 2010 - I would like to create css menu tree save the state when reloading the browser.
|