Recent Questions
Q: I have the dynamic dropdown menu working perfectly on the main page of the website, but when I try to install it onto html files that appear in subfolders of the site, the images do not appear. I have put ../ before all the links I can find and have the following codes placed in my file, what am I doing wrong?
A: You can use additional parameters to make dynamic dropdown 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: Do your popup menus work with Dreamweaver?
A: Deluxe Menu wasn't developed as Dreamweaver/Frontpage extension and wedon't have plug-ins for it.
To install the menu into your html page:
1. create and save .js file with your menu parameters in Deluxe Tuner
2. open your .html page in Dreamweaver
3. Copy data.js file and "data.files/" folder in the same folderwith your html page.
4. add several rows of code (<script> tags).
For info see:
http://deluxe-menu.com/installation-info.html
<head>
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com&</a></noscript>
<script type="text/javascript"> var dmWorkPath="data.files/";</script>
<script type="text/javascript" src="data.files/dmenu.js"></script>
</head>
<body>
...
<script type="text/javascript" src="data.js"></script>
...
</body>
That's all.
It is possible that Dreamweaver changes some paths,
so you'll havean error in the preview.
On your site or in your browser there'll be no errors.
Q: Can I use just one data.js in one folder that all the pages with a dhtml popup menu point to?
A: If you don't want to create your menu on each page you can use aserver-side script
(php, asp, vb, etc.) to generate html pages fromtemplates on your server.
You can use cross frame menu.
It allows you to build full-featured menus on the pagesthat use frame-based structure.
And it's not necessary to insert any code into all the pages -just specify the additional
parameters of the menu and initialize it.
To install the menu in a cross-frame mode, see more info here:
http://www.deluxe-menu.com/cross-frame-mode-sample.htmlQ: Is there a way to specify certian font styles escpecailly a hanging indent on the text of the navigation menubar?
A: You should use Individual styles, for example:
var itemStyles = [
["fontStyle=bold 12px Arial,Helvetica", "fontDecoration=none,underline"], // style 0
["fontStyle=normal 12px Arial,Helvetica", "fontDecoration=underline,underline"], // style 1
["fontStyle=normal 14px Arial,Helvetica", "fontDecoration=none,none"], // style 2
];
And assign styles to your items:
var menuItems = [
["1 Item","index.php","","","","_self","0",,,],
["2 Item","","","","","_self","1",,,],
["|Submenu Item","","","","","_self","2",,,],
...