Recent Questions
Q: There are two of your menus that we wish to incorporate into one. Our main left hand side vertical navigation menu would be an accordion menu. When you click on products in the accordion menu, it would drop down with an indented sub menu. When you hover over a link in the sub menu, your Javascript Scrolling Menu - Smart Scrollable Feature would allow us to have a scrolling sub menu.
I guess my question is can you have two javascript dhtml scroll menus working together in the same page?
A: I'm not sure I understand your question.
Why you should create two menus in that case?
You can create only one vertical menu (left menu) with all submenusand set smart scrollable feature:
var smSmartScroll=1;
That is all. Please try the trial version.
Q: I have a issue involving the location of the files.
What is the correct method of referencing the webroot (document root) in the deluxe tuner?
I ask because I have some pages that are in a sub folder on the server.
eg. index page is http://www.domain.com/index.html
but another page might be at
http://www.domain.com/somedir/somepage.html
And then the references do not work.
Currently I am editing the data.js file after saving it in deluxe tuner.
A: If you want to use relative paths you should write your links in thefollowing way.
If you have, for example such file structure:
deluxe-menu_files/
dmenu.js
data.js
images/
html_pages/
page1.html
page2.html
index.html
So, you should write write all your paths concerning index.html file.
For example, you paths will be:
["HOME","html_pages/page1.html", , , , "_self", "-1", , , ],
["ABOUT US","html_pages/page2.html", , , , , , , , ],
Unfortunately, Deluxe Tuner can't do it automatically. You shouldcorrect your paths manually.
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 trying created an independent menu from my html pages.
I have several pages stored in directories and subdirectories,
I would like to call theses pages from a single dhtml menu script.
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: Is there a way to center the primary navigation and left-align the drop down for themenu script ?
A: Set the following parameters:
var itemAlignTop="center";
var itemAlign="left";