Recent Questions Javascript Tree Extensible
Q: I have one problem you may be able to help with:
If I set
var tsaveState = 1;
The following errors are generated:
_tls is not defined
tob has no properties
and the menu doesn't display.
If you could help with this I would be grateful.
A: You should use dtree_ss.js file.
You should install your menu so:
<noscript><a href="http://deluxe-tree.com">Javascript Tree Menu by Deluxe-Tree.com</a></noscript>
<script type="text/javascript" src="menudir/dtree.js"></script>
<script type="text/javascript" src="menudir/dtree_ss.js"></script>
<script type="text/javascript" src="menudir/tree-data.js"></script>
Q: I have the trial of deluxe menu. We are in the process of purchasing it.
I just noticed that the div drop down menu are not going in front of a flash element that is on the page.
I have set the "opaque" value as per your faq.
Any other things I should check to get the div drop down menu to be in front of the flash element?
A: You should add the following function in the beginning of your data file
function dm_ext_ruleObjectHide()
{
return false;
}
See more info here:
http://deluxe-menu.com/objects-overlapping-sample.html
Q: I'm wondering if you can use the Link Item of the JavaScript Tree Menu to have ASP code, similar to yoru FAQ below, only replacing the Javascript with ASP?
Q: I want to use Javascript instead of usual links for menu items. How can I do that? A: To do that you should add a function word "javascript" in the URL field of an item, e.g.:
var menuItems = [
[text, "javascript:alert('Hello, world!')", icon1, icon2],
];
A: Thanks for your interest in our products.
You can use any server-side script, e.g., PHP, ASP, VB, etc.
You can find the example with PHP here:
http://deluxe-menu.com/generate-menu-from-database-xml-php-asp-vb-support.html
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
Q: I wonder if you can help me. I've uploaded all my files, including the menus to the client site.
All the menus were working fine, where each link was targeted to the frame "mainFrame" in the middle of the page. This morning, all the css javascript menu link targets don't work anymore. That is, the targeting info has not changed but the linked pages are opening up as a _parent page -- that is, replacing the entire page.
A: You should use absolute paths.
See the url browser tried to open:
http://domain.com/a_bp/bpdoc/3sell/32_sales_order_management/321_sales_order/
7operations/72_monitor_operations/index.html
instead of:
http://domain.com/7operations/72_monitor_operations/index.html
var pathPrefix_link = "http://domain.com/pages/";
These parameter allows to make links paths absolute.
For example:
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
Please, try to use this parameter.