Recent Questions
Q: From
http://deluxe-menu.com/recent-questions-support.html I have read:
Jul 25, 2008 - I am still interested if there is a dynamic way to rebuild (and restructure) a javascript menu example..
Q: So, I am still interested if there is a dynamic way to rebuild (and restructure) a menu w javascript, just for interest.
A: No, unfortunately it is not possible to rebuild the menu without reloading of the page now. We'll add this feature in the next version of the menu.
Can you say anything about date for that funcion?
May-be the function is ready in an un-officiel version?
I have buy this product-collect, and is in touch to implement dynamic 'ajax' menu with php, And the function to reload menu will be very pretty
A: It is not possible to rebuild/reload the menu at once,but you can use our API function to change any menu itemsw/0 page reloading, please see
http://deluxe-menu.com/functions-info.html
http://deluxe-menu.com/dynamic-functions-sample.html
Also please check
http://deluxe-menu.com/ajax-technology-menu-sample.html
Q: No matter where I place the code, the html free menu always appears in the top left of the page,
I need it elsewhere obviously but it simply won't move.
A: You're using absolute position for the menu now.
You should use relative position in that case.
Change the following parameters:
var absolutePos=0;
var posX="0px";
var posY="0px";
Q: I have managed to insert a separator in a menu and set the image path but the separator image does not show.
Is there anything else I need to do?
A: Please, see the following parameters:
//------- Separators -------
//--- Separators
var separatorImage="";
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif";
var separatorVWidth="3";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Try that.
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