Download Simple Jquery Tree Menu Example by Deluxe-Tree.com
Download Simple Jquery Tree Menu Example


Buy Now!  Free Trial Download

Menu Screenshots Download Simple Jquery Tree Menu Example

Download Simple Jquery Tree Menu Example Tree Views Examples

Features Download Simple Jquery Tree Menu Example

Cost Effective
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
Tree Mouseover Drop Down Menus Download Simple Jquery Tree Menu Example
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
Easy Setup
  • De Luxe Tuner. GUI interface to create your download simple jquery tree menu example menus easily and in no time
  • Sensible menu parameters for manual editing
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
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • There can be as many submenus as you want.
  • Use a mouse to drag a menu as a usual window.
  • When the page is scrolled the menu remains visible. The Javascript/DHTML Tree can "float" along one or two coordinate axes. After clicking on menu item selected item becomes highlighted.

Recent Questions Download Simple Jquery Tree Menu Example

Q: I’d like to know how to populate the navigation bar menu from a database?


A: 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 = [

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

?>

];
</script>


Q: I would like, that not only the text is represented differently when dhtml nav menu item is expanded, also the Icon separates before it at the side where I am.

iconarrs.gif is not right
iconarrs_aktiv.gif is right

How do I solve that?

A: You should set arrow for expanded state

   ["||Seite 1","seite1.htm", "deluxe-tree.files/iconarrs.gif", "", "deluxe-tree.files/iconarrs_aktiv.gif", "Seite 1", "_self", "", "", "", ],
   ["||Seite 2","seite2.htm", "deluxe-tree.files/iconarrs.gif", "", "deluxe-tree.files/iconarrs_aktiv.gif", "Seite2", "_self", "", "", "", ],
   ["||Seite 3","seite3.htm", "deluxe-tree.files/iconarrs.gif", "", "deluxe-tree.files/iconarrs_aktiv.gif", "Seite3", "_self", "", "", "", ],




Q: What I mean is I still want the destination page to be static inthe   var menuitems but when the javascript side menu item is clicked, it'll run a js on the onclick or mouseup event.

Is this possible?

something like:

  var menuItems = [
["text", "home", "javascript:onclick=your_code_here"]
];

A: You can achieve this by using standard html objects within javascript side menu items, for example:

  var menuitems = [
["<div onContextMenu='your_code_here'>item text</div>", ""]
];

Actually you can use any html code within menuItems.



Q: Is it possible, for instance, to call dm_init multiple times in the list menu java? If so, do you have an example?

A: Yes, you can call dm_init(); function multiple times (for example youcan call several data files, or move menuItems array and dm_init();function into your page directly) to have multiple menus on your page.