Javascript And Ajax Tree Menu Tutorial by Deluxe-Tree.com
Javascript And Ajax Tree Menu Tutorial


Buy Now!  Free Trial Download

Menu Screenshots Javascript And Ajax Tree Menu Tutorial

Javascript And Ajax Tree Menu Tutorial Tree Icon Menu Bar

Features Javascript And Ajax Tree Menu Tutorial

Cost Effective
Unrivalled Features
  • Scrollable, dragable, floating
  • Unique Java Script API for altering menu "on-the-fly", without page reloading
  • AJAX technology - loads menu data from the server "on-fly and on-demand".
Tree Expand Sample Javascript And Ajax Tree Menu Tutorial
Compatibility              
  • Full cross-browser compatibility including IE, Netscape, Mozilla, Opera, Firefox, Konqueror and Safari on Windows, Mac OS and Linux
  • Menu can be populated from a database using ASP, PHP, etc.
  • Search engine friendly
  • Support for any doctypes
  • Fits for secure sites
Seamless Integration
  • Visible over flash, select boxes, iframes, java applets
  • Multiple menus on the same page
  • Amicable to other scripts and css styles
  • Any HTML code can be used inside menu items
High Performance
  • AJAX menu loading - loads web menu data from the server "on-the-fly".
  • Commonly loads quicker than other html page elements
  • Runs well with an unlimited number of submenus and items
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • You can animation and effects for the javascript tree menu. These effects will make your menu more attractive and stylish. When you click on titles of submenus - submenus will collapse or expand. Submenus have a fade effect in Internet Explorer when you collapse/expand them, so your menus look like original menus in Windows XP Explorer. You can set different speed for an animation.

Recent Questions Javascript And Ajax Tree Menu Tutorial

Q: I am having trouble changing a template of dhtml drop down menu code. I am using the
http://deluxe-menu.com/data-templates/image-based-1-template-sample.html,
and I want to add more items to the top menu, however when I add an item, it doesn't follow the format of the existing items.


A: See, we use Individual Item Styles for the top items in this template.
For, example select the "CONTACTS" item on the main window.

In the "Item Parameters" window you can see Individual Styles assignedfor this item:

Item Style - Style1
Icons / Normal - images/spacer.gif

When you add the new item you should assign Individual Styles for itand add icon in the same way.

That is all.


Q: I am having problems with my html files that are located in sub folders of my site the menu html does not work on them.If they are in the root directory there is no problem.

A: You can use additional parameters to make menu paths absolute:

  var pathPrefix_img = "http://domain.com/images/";
  var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.

For example:
  var pathPrefix_img = "http://domain.com/images/";
  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

Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif



Q: I have the menu installed over a Flash movie. In IE the menu flickers and in Firefox it disappears under Flash movie. Is there a fix for this that allows me to have menu lay pover Flash movie?


A: See more info here:

http://deluxe-menu.com/objects-overlapping-sample.html

> In IE the menu flickers
You can have such effect in IE7. You should click on the flash. Yourmenu will stop flicker.


Q: I don't know anything about what JavaScript is all about...and I'm currently trying to get a menu that will float as I scroll down the page.
I saw the examples you have and I'd love to be able to do that on my website, but I don't understand the scripting that you have written there.
Like, what makes it float from this text...


A: If you want a floatable menu, you should set an absolute position forthe menu and paste the following code into your html page:

Paste the following code into <head> tag

<script type="text/javascript">  var dmWorkPath = "data.files/";</script>
<script type="text/javascript" src="data.files/dmenu.js"></script>

Then set coordinates of top-left menu corner in the data .js file, forexample:

  var absolutePos=1;
  var posX=30;
  var posY=110;

Then set   var floatable=1.

The parameter floatable=1 makes a floatable menu.

Also you can change any of menu parameters inside data .js file.