Recent Questions
Q: Can you please guide me how can i use the ajax functionality for tree view navigation..
A: To enable AJAX Tree Menu use the following menu parameters:
var tajax=1; // enables AJAX technology support
Each .js file must contain menuItems variable for the submenu in the following format:
var tmenuItems = [
[text, link, icon1, icon2, icon2, tip, target, itemStyle, submenuStyle, jsFileName],
];
Where jsFileName - .js filename on the server that contains tmenuItems variable for the submenu.
More info you'll find here:
http://deluxe-tree.com/ajax-menu-loading-sample.htmlQ: I'm just trying to get those little vertical spacers between menu items in the drop down menu.How can I do it with Deluxe Menu.
A: Please, see the following parameters of the menu:
//------- Separators -------
var separatorWidth = "10";
var separatorHeight = "20";
var separatorAlignment = "center";
var separatorImage = "C";
var separatorVWidth = "20";
var separatorVHeight = "10%";
var separatorVImage = "image.jpg";
You can create separators between items in the drop down menu using menuItems, for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"], ["|item 3"],
["|-"], // this subitem is separator
["|item 4"],
];
Q: I see one of the styles of tabs that Deluxe tabs can create is vertical ones, however, they appear just to be the floating type with images. I'd like a more traditional looking of javascript menu source code, non-floating tab to sit vertically. Is that possible with your software?
A: If you don't want that your Tabs Menu float you should set thefollowing javascript menu source code parameter:
var bfloatable=0;
Q: I do have issues. There are not the problems when you are on the home page (you can click on one of the dropdown submenus and go there.
However, when you try to go to another page from there to another page on a nother drop down, nothing happens except javascript erros. The dropdowns physical work, in that they drop down, but the links don't go anywhere. Does that make sense.
A: See, the problem was in your dmWorkPath parameter
On all pages placed in the subfolder you should write it in thefollowing way:
<script type="text/javascript"> var dmWorkPath = "../ifnav.files/";</script>
Please, correct it.
You should also use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://www.infocusnet.org/design/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://www.infocusnet.org/design/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
Please, use pathPrefix_link parameter.