How do I set it so that they all 'feed' from the same dmenu.js file?
How do I set the file path to that file from all pages of my website?
A: 1) How do I set it so that they all 'feed' from the same dmenu.js file?
You should use absolute path here:
1. Paste the following code into a tag of your page:
<!-- (c) 2009, http://deluxe-menu.com -->
2. Paste the following code where you want to have the menu:
2) How do I set the file path to that file from all pages of my website?
If you don't want to create your menu on each page, you can try to useframes, the menu has a cross-frame mode.
Also you can use aserver-side script (php, asp, vb, etc.) to generate html pages fromtemplates on your server.
A: You can generate search engine friendly code.
To create a search engine friendly menu you should add additional html code within your html page:
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your menu and click Tools/Generate SE-friendly Code (F3).
Q: Could you also tell me where I should place the images I wish to use in the menu, eg arrows. When I select an image to use they are not appearing in the preview, or when I launch deluxe-menu.html?
A: Please, check images paths within data .js file.
For example, if you have data.js file here:
and your images are stored here:
you should set image name so (for example):
var arrowImageMain = ["images/arrow1.gif", "images/arrow2.gif"];
If you use Tuner, you should save data .js file before you'll selectimages. When you save .js file it means that you set a root directoryfor the project, so Tuner can make all selected images with relativepaths.
Q: Hello. I am trying to test out your mouse over drop down menu and I am having trouble using the separators. Are there certain things that need to be in placed for the separators to work?
Nothing in the js code is showing me that they even exist.
A: You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["About Us","about.cfm", , , , , , , , ],
Please, see the following parameters:
var separatorImage=""; //for subitems
var separatorVImage="images/public/separator.gif"; //for the top items