Recent Questions Menu Q Tree
Q: I’m wondering if there is a way to keep the roll over on the current page for the script drop down menu.
Pleaselet me know if it is possible and what I should do.
A: You can find more info here:
http://www.deluxe-menu.com/highlighted-items-sample.html
JavaScript Tree Menu has only two states normal and mouseover.
Try to do the following things:
- delete var pressedItem=1; parameter from your data file
- set correct parameter on each page before you call data file, forexample:
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
...
<script type="text/javascript" src="menudir/data.js"></script>
You can also 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.
But notice, to use dm_ext_setPressedItem() you should know ID of selected item and subitem.
You can't get this ID after you reload your page. That is why you should write your own code on PHP.
Q: Does your menu html javascript support Arabic language fonts?
A: Actually you can use any letters in the menu.
Please, check that you've set "Tools/Use utf8 encode".
When you save your data file in UTF8 you should use the same encoding on our html page.
So you should write:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
If you don't want to use UTF-8 encode on your page you should turn off"Tools/Use utf8 encode" property, save your data file and manuallychange your letters in any text editor.
Q: I have problem with Deluxe CSS Menu. The menus function well, I can see all of the text at each level.
But the buttons in the css drop-down menu have no graphic shape or back gound color and this is at all levels.
I went through your support page but I cannot find anything that mentions this condition.
Please help help me solve this issue.
A: Try to set in Deluxe tuner: Tools->Copy all files when saving.
Try to export your menu to html once again.Q: There is a grey line that surrounds my menu (its on a page with black background. How do I get rid of the grey line?
A: See, you set the shadow for the top items and submenus
var shadowLen=2;
var shadowColor="#C4C4C4";
var shadowTop=1;
You should set
var shadowLen=0;
var shadowColor="#C4C4C4";
var shadowTop=0;