Javascript Simple Treeview by Deluxe-Tree.com
Javascript Simple Treeview


Buy Now!  Free Trial Download

Menu Screenshots Javascript Simple Treeview

Javascript Simple Treeview Tree Cascading Menu With Frames

Features Javascript Simple Treeview

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 javascript simple treeview menus easily and in no time
  • Sensible menu parameters for manual editing
Tree View For Menus Javascript Simple Treeview
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 javascript simple treeview 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 set default expanded/collapsed items and submenus.
  • After clicking on menu item selected item becomes highlighted.
  • When the submenu is larger than the visible area of the page the submenu will be automatically decreased. To see all the submenu items you do not need to use scrollbars or something like that - just put your mouse to the bottom of a submenu and it will be automatically scrolled! You can also specify height and width for each separate submenu.
  • There is no need to write additional code on a server side to remember what items were expanded/collapsed. Javascript/DHTML Tree can save items state automatically!

Recent Questions Javascript Simple Treeview

Q: I contact you because this morning we have bought a single license of your deluxe tree menu for our web site www.roderstore.com All features of tree menu work good when I try it on local computer.

When I send the files on web site there is the problem that we must work on different directory : the script must be saved in a directory and the html page with menu inside is installed in another directory.

We can't save the script inside the directory of html pages because there are a lot of pages that call the tree menu, in different levels of path.

In the header of html page I have write the absolute path of script ( http://www.domain.com/menu/it/deluxe-menu.files/ ) and I have called the source of script with all absolute path.

The problem is that the tree javascript moving menu is visible, the function are OK ( expand and collapse are OK ) but the tree don't have the images !

I presume that the problem is the different directory of script and html page ?

What can we do ?

A: You can try to use absolute path to your images. To do it you shouldset the following javascript moving menu parameter:

  var tpathPrefix_img="http://www.domain.com/menu/it/deluxe-menu.files/";

You can also send us a direct link to your website, so we can check it.



Q: I downloaded the tuner and am testing the file prior to purchasing. Is there a way to set up categories and beneath those categories there are subitems...then depending on what page I am on in the website, the appropriate category and subitems automatically show up in the javascript tree view menu?

If so, can you please tell me where and how to setup a menu if it's just changing a variable. Maybe you have an example of the web?

Here's an example of what we are needing. If you open your website http://deluxe-tree.com/samples-sample.html there are 2 sep. menus, one at the top and one on the side.
If I click Samples on the top menu, the samples submenu should automatically expand on the javascript tree view menu. How would I set this up?

A: See how you should highlight and expand the selected items here:

http://deluxe-tree.com/highlight-selected-menu-item-sample.html

I'm sending you the example.


Q: I need to work it with PHP/MySQL. I have found some information on it in your Support section, but have problems to understand and wonder if you have more information or a working sample of the loading bar with PHP/ MySQL.

A: Info about generating menu (menu items )from a database, please, see:

http://deluxe-menu.com/generate-menu-from-database-xml-php-asp-vb-support.html
Please, see the example of .php file.
The content of .php file depends on your database structure.


<?php

// The example for PHP/MySQL.
// MySQL database has the table "menuTable" that contains data for menu items.
// The table has the following fields:
// 1. "text" - item text
// 2. "link" - item link
// 3. "icon1" - item icon (normal state)
// 4. "icon2" - item icon (mouseover state)
function getMenuItems()
{
$jsItems = '';

// Select all records from table "menuTable"
$allItems = mysql_query('SELECT * FROM menuTable;');

// Extract items data from database and build Javascript code for menuItems
while ($itemData=mysql_fetch_array($allItems))
{
$jsItems .= '["'.$itemData['text'].'", "'.$itemData['link'].'", "'.$itemData['icon1'].'", "'.$itemData['icon2'].'"],';
}

// Return Javascript code
return $jsItems;
}

?>

<script>
  var menuParam1 = value1;
  var menuParam2 = value2;
  var menuParam2 = value2;
...

  var menuItems = [

<?php

// Write Javascript code for menu items
echo getMenuItems();

?>

];

</script>



Q: Is there a way to center floatable menus horizontally on a page?
I used to use absolutePos=0, and all of my menus were centered ok, but when I tried floatable=1 I found that I had to change toabsolutePos=1 to get the menu to float, and this messed up my centering. Since I have multiple menus of different widths, I'd rather not have to hard-code the menu width, but please let me know if there's a better way.


A: Notice, when you use floatable menu you can't use relative menu position.
So, if you use

  var absolutePos = 0;

and to center the menu you use <p> or <div> with the center alignment your menu won't float.
To center your floatable menu you should set absolute coordinates.