Is there a way to optimize the java menu bar to reduce the loading time of submenus
Return to Recent Questions
Q:
We are testing you menu in our application. It is being used in
cross frame mode. It works very nicely except a couple issues.
The main one is after loading a new page in the sub menus window
when I go back to the main menu to select another option but on the
initial mouse over it takes several seconds for the menu 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 menu 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 menu.
And the other question is 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.
A:
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.
Deluxe Menu overlap select objects in cross-frame mode.
Return to Recent Questions
|