Q:
Is it possible to keep the main javascript menu system highlighted
corresponding to the page you are in? So, if you’re on a specific page
that button on the menu will automatically be highlighted.
I searched the FAQ on your site and it gave me something about “Special
Parameters” that didn’t make sense to me…
A:
You should set a pressed item using Javascript API:
function dm_ext_setPressedItem (menuInd, submenuInd, itemInd, recursion)
Sets a current pressed item.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
itemInd - index of an item, >=0.
recursion = true/false - highlight parent items.
Q:
Many internet cafe’s don’t have JavaScript installed. Is there
a way to show a javascript menu tree links to an alternative page if there is no
JavaScript installed on the computer?
A:
Your visitors should change security settings in IE to allow Javascript on pages they load.
When your security settings in IE doesn’t allow Javascript on
pages you load you can’t see a dynamic page content.
There is no way to enable these preferences automatically, in other
case there are no reasons to create security preferences.
Q:
We are testing you javascript menu system 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 javascript menu system.
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.
Q:
I get coches word in black when the javascript menu system loads the first time
and I didn’t configured that to happend.
A:
Check the following parameters:
var bselectedItem=1;
var bfontColor=["#000000","",""];
Q:
My menu is working very well in IE 7.0, and almost very well in FF 2.0.
In your faq, you mention the following:
Fix for flash in Firefox!
If you don’t want the flash to hide under submenus in Firefox
you should do the following things:
However, I do want the flash to hide under submenus, like it does
in IE when I set var dmObjectsCheck = 1;
My javascript menu system is beneath my flash.
A:
If for some reasons a submenu can’t drop down over an object the latter will be hidden for a time when the submenu is shown.
If you don’t want to have such effect you should follow these steps.
http://deluxe-menu.com/objects-overlapping-sample.html