Recent Questions Apple Style Treemenu
Q: We recently bought your product.
We are developing in ASP.NET (VB) and we have a problem making you deluxe menu dynamic to suit our needs. We are using the JavaScript Tree Menu.
The problem is each time a page with dhtml nav loads, we want to be able to generate the menuItems variable to reflect the options the individual user has, so it can't be hard coded into data.js it MUST be provided by an aspx file and attached somehow. I can't work out how to attach the variable (even a static one) as a separate file, so if you can do it with a static one, we can extend it to a dynamic one later.
For example the JS in the data.js file we want the MenuItem dimension you be loaded in a seperate file, some kind of include.
var menuItems = [
["Home","index.aspx", "", "", "", "_self", "", "", "", "", "", ],
["About","about.aspx", "", "", "", "_self", "", "", "", "", "", ],
["Contact","contact.aspx", "", "", "", "_self", "", "", "", "", "", ],
["Help","", "", "", "", "", "", "", "", "", "", ],
["|HowTo Register","RegHelp.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|FAQ","FAQ.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|Dos 'n' Don'ts","DoDont.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|Workshop","workshop.aspx", "", "", "", "_self", "", "", "", "", "", ],
["Gold Run","", "", "", "", "_self", "", "", "", "", "", ],
["|About Goldrun","goldrunAbout.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|Veiw Sites","GoldDistribSites.aspx", "", "", "", "_self", "", "", "", "", "", ],
["My Run","", "", "", "", "", "", "", "", "", "", ],
["|About","aboutmyrun.aspx", "", "", "", "_self", "", "", "", "", "", ],
["TICs","", "", "", "", "", "", "", "", "", "", ],
["|About","abouttics.aspx", "", "", "", "_self", "", "", "", "", "", ],
["Metro","", "", "", "", "", "", "", "", "", "", ],
["|About","aboutmetro.aspx", "", "", "", "_self", "", "", "", "", "", ],
["Distribution","", "", "", "", "", "", "", "", "", "", ],
["|About","DistribAbout.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|Status","DistribStatus.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|News","DistribNews.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|Display Units","DistribDisplay.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|Team","", "", "", "", "_self", "", "", "", "", "", ],
["|View Sites","DistribSites.aspx", "", "", "", "_self", "", "", "", "", "", ],
["|TIC Budget","", "", "", "", "_self", "", "", "", "", "", ],
];
Hope this makes sense.
A: You can move
var menuItems = [
...
];
dm_init();
dhtml nav code from your data file to your page (template) directly:
<script>
var menuItems = [
...
];
dm_init();
</script>
Q: We purchased your menu about 2 months ago and were curious if your menu has scrollable Sub-Menus or Scrollable Flyouts?
This is when you have a long sub-menu item and the user can click on up or down arrows on the menu fly-out to scroll to the next item.
If you are unclear as to what I am talking please let me know as I have seen this functionality in many popular DHTML Menus
A: Javascript/DHTML Tree doesn't have scrollable submenus. You should scroll yourwindow to see the whole menu.
We have smart scrollable feature in JavaScript Tree Menu
http://deluxe-menu.com/scrollable-submenus-sample.html
Q: Does this cross browser menu support only english menus or I can make an english and russian menus as well with deluxe menu multiple license?
A: Actually you can use any language in the cross browser menu.
Check that you've set "Tools/Use utf8 encode" in Deluxe Tuner.
Q: I use Deluxe-Menu on my website and the nag message "Incorrect Copyright" appears in MS-Explorer V6 (not in Firefox though). How can I fix that?
A: Now you have:
<noscript>
<a href=http://deluxe-menu.com/><br><p>Javascript Menu by Deluxe-Menu.com</a></noscript>
You should write NOSCRIPT tag in the single line:
<noscript><a href=http://deluxe-menu.com/><p>Javascript Menu by Deluxe-Menu.com</a></p></noscript>