Recent Questions
Q: I used the drop menu creator to create a simple tab example, and I created a simple HTML file to display the tabs. It initially appears fine when the page first displays (e.g., the correct div is hidden), but when I *first* click on a tab I always get a javascript error deep in the .js code. Then I click around a bit between the tabs and get some display problems (no more javascript errors though), until finally the show/hide logic recovers and all looks ok.
The error I initially get is something like “tabs[…].id is not an object”. I have the IE7 debugger turned on, otherwise I might not ever see this error.
FYI, I tried your example menus on your web site and everything is fine! Maybe the .js files on your web site are not the same as those created by the generator?
A: You should set the following parameter in drop menu creator:
var bselectedSmItem=0;
Q: Is there a javascript API for the expandable menu tree to fire an user click event so the browser will load proper page accordingly? I looked around the current APIs from your site and could not find one.
Please advise.
A: You can use dtreet_ext_userClick (itemID) function.
See more info:
http://deluxe-tree.com/functions-info.html
Actually you can use your own Javascript code instead standard links and html code inside item text. For example:
var tmenuItems = [
["text", "javascript:your_code_here"]
];
or
var tmenuitems = [
["<div onClick='urlSubstitution(\'transco/sheet.asp?stype=1\')'>Table of Contents</div>", ""]
];
Q: We have been using a free javascript for a couple of years but now we would like to have a functionality that our existing js is missing.
Basically, we need the ordinary tree view javascript with "+" and "-" that highlights the node clicked. No problem with that I suppose... BUT, we have a bunch of pages with internal links, linking the visitor to other pages within the site (i.e. they don't have to use the leftside tree navigation). What I want is that the navigation js recognizes that a page loads without any node has been clicked, and automagically expands the nav tree and highlights the node for that page.
No AJAX, no XML, no php or asp, just plain HTML + JS is a requirement from our customers.
Is that possible with any of your products...?
A: Yes it is possible with Deluxe Tree.
Find more info here:
http://deluxe-tree.com/highlight-selected-menu-item-sample.htmlQ: 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