Christmas Tree Style Menu Using Javascript by Deluxe-Tree.com
Christmas Tree Style Menu Using Javascript


Buy Now!  Free Trial Download

Menu Screenshots Christmas Tree Style Menu Using Javascript

Christmas Tree Style Menu Using Javascript Create Dynamic Tree Menu

Features Christmas Tree Style Menu Using Javascript

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".
Easy Setup
  • De Luxe Tuner. GUI interface to create your christmas tree style menu using javascript menus easily and in no time
  • Sensible menu parameters for manual editing
Tree View Pull Down Menu Christmas Tree Style Menu Using Javascript
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
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
Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed christmas tree style menu using javascript samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • You can create 3-state icons for each item: normal state, mouseover state, expanded state.
  • Use images for icons, backgrounds of submenus and items.
  • You can use with any amount of menu and submenus on one page.
  • Insert any HTML code inside the menu item - be it a form or a picture, a flash-object or a text. This ability allows you to create various menus of any complexity.

Recent Questions Christmas Tree Style Menu Using Javascript

Q: I'm trying out your menus, and I seem to have a problem with changing the title of a menu item. If the text is something like "Create a New Event" the entire menu spreads out and the rollover image starts replicating itself behind it, instead fo stretching with the text. So I see 1 /2 rollover images for that top level item, instead of just the one, width it's width spread out to accomodate the extra text.

I've tried the Styles bit, but that doesn't seem to fix the rollover image any...

Any pointers ?


A: You can try to set the exact width for each menu item using IndividualItem Styles.

You should use Individual Item Styles.
For example:
  var itemStyles = [
["itemWidth=120","itemBorderWidth=1","itemBorderStyle=solid,solid"], //style0
["itemWidth=100","itemBorderWidth=1","itemBorderStyle=solid,solid"], //style1
["itemWidth=130","itemBorderWidth=1","itemBorderStyle=solid,solid"], //style2
["itemWidth=150","itemBorderWidth=1","itemBorderStyle=solid,solid"], //style3
];

["Home","testlink.htm"],
["Samples","testlink.htm"],
 ["|Group 1","", , , , , "0", , , ],
 ["|Group 2","", , , , , "1", , , ],
 ["|Group 3","", , , , , "2", , , ],

...
[" More Samples","testlink.htm"],
 ["|Group 1","", , , , , "3", , , ],
 ["|Group 2","", , , , , "1", , , ],

Where "0", "1", "2", "3" - style number in itemStyles.

You also should check the width of your rollover image. It should bethe same width as your items.

You can also use
tags in the item text, for example:

  var menuItems = [
["line 1
line 2"],
];

Or you can set this parameter:

  var noWrap=0;

Try that.


Q: What I would like to achieve is a separator in the main menu list of a vertical menu.

I can get the separator to show in submenus but not the main menu.


A: You should write so:

  var separatorImage="menu.files/sep_blue.gif";
  var separatorWidth="90%";
  var separatorHeight="3";
  var separatorAlignment="center";
  var separatorVImage="menu.files/sep_blue.gif";
  var separatorVWidth="90%";
  var separatorVHeight="3";
  var separatorPadding="0px";


Q: In my page are links in subfolders (for example /ergebnisse/2006/test.htm). When I call a page in a subfolder, in first time this page is shown correctly. The next page I call could not found. I belief the pointer is in the subfolder an so the page could not found.


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

Please, try to use these parameters.


Q: Hello. We need some tech support regarding our deluxe menu.

All of our pages that have the menu code on them are suddenly giving status bar errors that say: "Done, but with errors on page"

When pulling up the error details, the dialog says:

Line: 2
Char: 1
Error: Syntax error
Code: 0

On pages that do not have the menu at all, we're not getting the error.


A: Now you have such code:

<SCRIPT LANGUAGE="" type="text/javascript">
<!--

  var dmWorkPath = "menu/";

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
  var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</SCRIPT>

So, your menu cannot find   var dmWorkPath = "menu/"; parameter on yourpage.

Try to write your code in the following way:

<SCRIPT type="text/javascript">  var dmWorkPath = "menu/";</script>
<SCRIPT LANGUAGE="" type="text/javascript" src="menu/dmenu.js"></SCRIPT>
<!-- (c) 2006, http://deluxe-menu.com -->