Do you by chance have an example of the java popup menu working with XML? A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
<!-- (c) 2008, http://deluxe-menu.com -->
// and describe parameters of a menu
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
The example of the menu working with PHP/MYSQL you can find here:http://deluxe-menu.com/rq-loading-bar-MySQL-support.htmlQ:
So, you can create the menu using standard html page and them movemenu code within .jsp page.
I cannot see the arrow.gif's in my rollover drop down menu.
Here is my code:
Do I need to put the arrow's somewhere else? A: You should check the following parameter:
Please check that you have the correct path to your aroows relative to the folder withindex.html file.
For example, you have:
In menu.js file you should write:
I never succeed to see the images in the dhtml menu examples using my default folder hierarchy (ie : a folder for the html files and a folder for the js files). The only way for me was to create the data.files folder in the html folder. It works but it does not follow my production standard. Did I forget something ? A: You should set relative paths according to your html page.
For example, you have such file structure:
1.html // page with the dhtml menu examples
2.html // page with the dhtml menu examples
So in Deluxe Tuner you should open image.gif file.
You will have, for example:
Then you should delete "d:\webpages\site1\web-content\" and add ../prefix. The path will be:
You can also set path_prefix
var pathPrefix_img = "../Artwork/";
Or you can try to use absolute paths, for example:
var pathPrefix_img = "http://domain.com/images/";