Recent Questions
Q: I am having a lot of trouble trying to get the menu to work properly. I want to make sure that I get it working before I make the licesning purchase.
The menu is to be CSS based but while I have the main menu somewhat in location, none of the settings are correct. Can you help?
A: See, the problem is that the script can't get css properties of the object if they are described in separate .css block (or file).
To get the value you should move .css style into style="POSITION: relative;" attribute.
Please, try to add your
css file -> inline css
Try to write so:
<DIV id=if-navbar style="POSITION: relative;">
Q: How can I use Danish characters in my menu using javascript? In normal html you would use something like this:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
What should I do in Deluxe Menu?
A: You should turn on "Tools/Use utf8 encode" property.In that case your data file will be saved in UTF-8 encode. So, youshould set UTF-8 encode on your page too
<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.
You can also replace your letters with special sets, for example
É - Capital E, acute accent
var menuItems = [
["É....","testlink.html", "", "", "", "", "", "", "", ],
Q: I have spanish characters that are not showing up in my menus correctly.
My array has this:
["|M&eacute;xico","#", "", "", , , "7", , ],
buy in the drop downs it appears as M?xico
I read in the FAQ about displaying Norwegian characters
(http://deluxe-menu.com/rq-javascript-menu-drop-down-Norwegian-characters-support.html)
so I tried this:
but that did nothing.
I have the charset on the page set properly and the letters appear properly everyone else, only incorrect in the menus.
A: You should write your Spanish characters in the following way:
["|M&eacute;xico","#", "", "", , , "7", , ],
Try that.
Q: Is it possible to make on top of the javascript expandable tree 2 extra buttons:
* Expand all
* Collapse all
Which command do I use???
A: Tree Menu doesn't have such a feature now.
You can write your own function based on the following API functions:
function dtreet_ext_showItem (itemID, visibility)
function dtreet_ext_expandItem (itemID, expand)