Recent Questions Xmltreeloader Js Hide Node
Q: I have looked and looked but I cannot figure out for the life of me how to make the Icon ontop and the words on the bottom of java menu items, The class A and Class C words need to be at the bottom of the pictures if possible.
A: You can paste any html code within java menu items.
For example:
["<img src='image.gif'> <br>Class A ","","","",""]
Q: I've recently purchased and implemented your menu. While it's definitely very good, I have a small issue I'm hoping you can help me resolve.
When running over regular http, the menu drops down and shows in front of any form select dropdowns as it should. However, when running over SSL (https), the menu shows up with the form select box in front of it.
Any help for fixing this would be greatly appreciated.
A: Please, check that you've set the following parameter:
var dmObjectsCheck=1;
Please, use dmenu_add.js file.
For more info, please, see:
http://deluxe-menu.com/objects-overlapping-sample.html
Q: Here is a snapshot from the javascript drop down menu:
["admin","/Main/Administration.asp", "", "", "", "", "1", "", "", ],
["|test1","http://www.vg.no", "", "", "", "", "0", "0", "", ],
["|test2","/Main/Setup.asp", "", "", "", "", "0", "0", "", ],
If I click on test1 which is a Norwegian newspaper, it works.
But it I click on test2 which is a link to my page – it does not work.
A: You cannot use "" symbols within menuItems. It is not correct.
Try to write your javascript drop down menu items in the following way:
["admin","/Main/Administration.asp", "", "", "", "", "1", "", "", ],
["|test1","http://www.vg.no", "", "", "", "", "0", "0", "", ],
["|test2","/Main/Setup.asp", "", "", "", "", "0", "0", "", ],
Q: I can’t seem to figure out how to keep last clicked item in my java menu script marked.
I use these options:
pressedItem = -1
var saveNavigationPath = 1;
Where and how do I determine the background color of the clicked item?
I also have this problem on Javascript/DHTML Tree.
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>
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.