Recent Questions
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
Q: I would like to know how to put the items for the popup menu on multiple lines (i.e. create a line feed), how do I tell my code to start a new menu item on the NEXT line?
A: There are 2 ways to do that:
1. set
var noWrap=0;
2. use
tags, for example:
var menuItems = [
["|Here is where <br> I would like
to have a line<br> feed",,"","", "", "", "", "", "", "", "",],
];
Q: I just downloaded the Deluxe-Menu program. It looks very nice, but I keep getting this pop up while trying to set up my first menu:
"an error has occurred in the script on this page:
line 15
char 9
access is denied
code 0
with a link to the toolbar.html in my program files where the Deluxe Menu installed.
At this point, I am just trying my first menu - not using a browser.
(I normally use Firefox but also have IE installed).
A: I suppose that you're using Windows 2000.
We have some problems with Tuner on this OS.
Unfortunately we didn't fix the issue with Windows 2000 yet.
Try to delete all content from toolbar.html file.
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-tree/toolbar/toolbar.html
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-menu/toolbar/toolbar.html
C:/Program Files/DeluxeMenus/deluxe-menu/deluxe-tuner/data/deluxe-tabs/toolbar/toolbar.html
Q: Can your menu, when placed in a master page, be propagated throughout an application's sub-folders
or will the html menu need to be added to each page separately?
A: If you don't want to create your menu on each page you can use a
server-side script (php, asp, vb, etc.) to generate html pages from
templates on your server.
However, these scripts don't work inside of Javascript .js files, so,
you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- Deluxe Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
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.html
You can use cross frame menu. It allows you to build full-featured menus on the pages
that 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.html