Recent Questions Php Dynamic Tree Horizontal
Q: Can I use data from a SQL server using ASP for drop down menu code?
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.)
];
Unfortunately we don't have examples with ASP and SQL.
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'd like to underline dhtml pop up menu items on hover but we can't do it with those spaces.
A: To set align for the one dhtml pop up menu item only you can use the following method:
instead of
["email a temp expert ","email.html", "", "", "", "", "15", "", "", "", "", ],
you can write:
["<div align=left>email a temp expert</div>","email.html", "", "", "", "", "15", "", "", "", "", ],
and set fontDecoration=none,underline style for this item:
["itemWidth=248px","itemHeight=41px","itemBackImage=dd-data.files/emailatemp.JPG,dd-data.files/emailatemp.JPG","fontStyle='bold 11px Arial',''","fontColor=#005D8C,#002030","fontDecoration=none,underline"],
Q: Is there a way to center the primary navigation and left-align the drop down for themenu script ?
A: Set the following parameters:
var itemAlignTop="center";
var itemAlign="left";
Q: Why do I get the "Incorrect Copyright" message in Internet Explorer 7. I am using JavaScript Tree Menu version 1.14. Shouldn't this support IE5+, including IE7?
This is what I found in you FAQ about this matter:
http://deluxe-menu.com/rq-css-pull-down-menu-copyright-support.html
Do I really need to buy an upgrade for each new browser release when I don't need any of the new features in JavaScript Tree Menu???
A: Thanks for your interest in our products.
JavaScript Tree Menu v1.14 works with "Incorrect Copyright" message in IE7. Youshould upgrade to JavaScript Tree Menu v2.0.
The upgrade is free for existing customers.
You can download licensed package from the same link in your licensemessage.