Recent Questions
Q: I've encountered a problem when I was creating my collapsible menu javascript. I got an error message when I was creating my menu as follows:
----------------------------------
There is the error in the data file. The menu won't be loaded correctly.
Line: 361
Char: 3
Code: 0
Message:']' f=F6rv=E4ntas
----------------------------------
A: You have errors in your data file now. It is not correctly to writeitems in the following way:
["||10"","", "", "", "", "", "", "", "", "", ],
["||11"","", "", "", "", "", "", "", "", "", ],
You should write:
["||10","", "", "", "", "", "", "", "", "", ],
["||11","", "", "", "", "", "", "", "", "", ],
Q: Both arrow types are visible when my intranet first loads and when I select a top item that is a direct link to a page.
But, as soon as I select any item from a list of sub items that includes subitems with arrows,
the arrow images disappear from vertical menu until I refresh the site.
A: You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
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
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: I'm using onclick tabs and want to ask if it's possible to change the the z-index id?
A: To change z-index in Deluxe Tabs you should open dtabs.js file in anytext editor and find the following text " var TLJ=2000;".
Here you should change the value.
Q: I am trying to update a website using a deluxe-menu, but I do not understand the instructions for inserting it into a framed site. I have everything working, and the menu is on the page. I just cannot figure out how to make the submenus appear in another frame.
The website makes it sound like I need to alter the data.js file, but I do not have any programs on my computer that will allow me to do so.
A: You can open your data.js file in any text editor and add such linedm_initFrame("frmSet", 0, 1, 0); instead of dm_init();
More info you can find here:
http://deluxe-menu.com/cross-frame-mode-sample.html