Recent Questions Html Li Tree Json
Q: In IE 6.0 and Firefox 1.5.0.4, the dropdown submenus are not visible and it does not float in firefox (floats in IE but no submenus) whereas in Opera 8.53 and Opera 9 it works fully.
A: Now you have two entries of dmenu.js file on your site in the <head> and <body> tags.
You must have only one entry of dmenu.js file.
You should write so:
...
<body>
<script type="text/javascript"> var dmWorkPath = "http://www.gaurangapada.org/data.files/";</script>
<script type="text/javascript" src="http://www.gaurangapada.org/data.files/dmenu.js"></script>
</body>
Please, delete the same code from the tag.
Now you have:
var transparency="0";
That is why you can't see your subitems.
Please, write, for example, so:
var transparency="80";
Q: I had create a website navigation bar ,in that I need to give separator. But its not working.
Please advise.
A: To add a separator you should
//--- Separators
var separatorImage=""; //for subitems (top items in vertical menu)
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="separator.gif"; //for the top items (subitems items in vertical menu)
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
You can create separators using menuItems (you can do it in DeluxeTuner, use "Add separator" button), for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
Q: Now, one more little question -
in a Tree menu, I know how to make a menu expand by default and expand only on a mouse click.
However, I believe there is a way to make a menu item expand on a "mouse over" without a click.
How can this be done?
A: No, unfortunately it is not possible to expand the tree menu onmouseover now. It is possible that we'll add this feature in the nextversion.
Q: I see most of the sub-menus of the navigation bar (if there is space on the left side),
they are opening on the left side instead of right side..Could you please let me know how to fix it.
A: You should change the following parameter:
var subMenuAlign="right";
to
var subMenuAlign="left";