Recent Questions Extjs Get Tree Mother
Q: I would like the button in the sub navigation bar to stay white when you navigate to a particular page..
A: 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"> var pressedItem=3;</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: I am using your product for a website. It seems that I am getting a Javascript error, particularly when accessing any of thedropdown menus. The details of this error message reference either"line 1" or "line 8".
Char= ...
Error= Object expected
Code=0
URL= (whatever page that I am on).
Please let me know what the issue is asap as my client is anxiousto go live with this and needs to be resolved!!!!!
A: You should check your dmWorkPath parameter. You should write itcorrectly.
You should also check that you copy all dmenu_xx.js files in the samefolder with dmenu.js file.
Please, set also the following parameter:
var itemBorderWidth="0";
This parameter cannot be empty.
Q: I want to highlight an activeted Page with your delux menue tool, which I have bought.
If I have clicked an item from the menue and the site and the new site opened, I want to change the color of this active item.
Can you give me concrete informations about this problem!?
A: The 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"> var pressedItem=3;</script>
...
<script type="text/javascript" src="menudir/data.js"></script>r dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<script type="text/javascript"> var pressedItem=3;</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,
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: I have changed the font parameters for the menu, but it only seems to affect the dropdown parts, the main menu font doesn't change, and I would like them to be consistent. How do I fix this?
A: Please, make sure that you don't use Individual Item Styles for themain items. If you're using styles you should change font in thisstyles.