Recent Questions Dynamic Tree Jquery
Q: In internet explorer the menu appears as expected, in firefox it is shiftedway to the right
The deluxe menu code is all wrapped within < center> < /center> tags
How can this be resolved?
A: Try to specify units in "px", for example:
var menuWidth="700px";
It's necessary to specify exact value for Mozilla browsers. It helpsto position menus correctly.
Q: May I can use PHP code in menu items of my dhtml website navigation menu?
A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
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.:
<!-- JavaScript Tree 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.)
];
</script>
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
Q: We really like your deluxe menu product and are interested in making a multiple website license purchase.
In our current production environment, we build sites on a local machine (no domain) and move the files/sites to multiple servers depending on where the domain is being hosted.
Do we have to reconfigure the domain key each time we move deluxe menu related site files from the actual domain server to our local production environment and back again?
A: Notice your key will work on registered domain only. It won't work onlocal machine.
If you want to use the menu on the local production environment youshould buy Developer License.
The Developer license you can use the menu on an unlimited number of Internet or Intranet sites and on the local machines.
This version of the script doesn't check keys and it isn't bound to adomain name.
Q: For each item in my menu, can I specify an image in place of text or background?
A: If you want to use images instead item text, you should useindividual item styles. For example:
var itemStyles = [
["itemWidth=200", "itemBackImage=image1.gif,image2.gif"], // style 0
["itemWidth=150", "itemBackImage=image3.gif,image4.gif"], // style 1
];
var menuItems = [
[" ", "link", "", "", "tip", "target", "0"],
[" ", "link", "", "", "tip", "target", "1"],
];
Where "0", "1" - style number in itemStyles.
Please, use Deluxe Tuner application to create and assign individualstyles. You can find Deluxe Tuner in the trial package.