Code Javascript Save Tree Menu Item by Deluxe-Tree.com
Code Javascript Save Tree Menu Item


Buy Now!  Free Trial Download

Menu Screenshots Code Javascript Save Tree Menu Item

Code Javascript Save Tree Menu Item Onmouseover Javascript Tree

Features Code Javascript Save Tree Menu Item

Professional Look-n-feel
  • Entirely customizable look-n-feel
  • A lot of pre-designed code javascript save tree menu item samples
  • Hundreds of visual effects
  • Custom CSS styles can be applied for all menu settings
Cost Effective
Layers Style Transparency Tree Source Code Javascript Save Tree Menu Item
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".
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
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • Apply any font of any color, size and font decoration you need. Use any available type, color and thickness of a menu. Choose any color for submenus and items backgrounds.
  • Set the size of the menu in percent, pixels, or other units. This menu may have a relative (it can be inserted into the table, for example) or absolute position .
  • Use special prefixes for image paths and links to make paths absolute.
  • You can assign your own images for lines.

Recent Questions Code Javascript Save Tree Menu Item

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: I'm having a major problem centering html menu navigation in a table.
No matter what I try, the menu stays on the left ofthe table.
Do you have any suggestions?

A: To center the menu on your html page you should set the following
parameter and install the menu in the following way:

  var absolutePos=0;

<div align=center>
<script type="text/javascript" src="deluxe-menu/dmenu.js"></script>
</div>

<table width=800>
<tr>
<td align=center width=600><script type="text/javascript" src="data/data.js"></script></td>
</tr>
</table>

Q: We have a problem. If the "sub menus" open downward (in a horizontal menu) and there is Flash under it, the menu disappears. It goes BEHIND the flash and can't be seen.

Is there a fix for this?

I honestly don't recall it happening before but it now does. I probably didn't pay attention. Thank you!


A: Please, check that you've set the following parameter:

  var dmObjectsCheck=1;

Please, use dmenu_add.js file.For more info, please, see:http://deluxe-menu.com/objects-overlapping-sample.html


Q: I have a client that wants a menu bar with all the buttons the same length.
What code might I need to do that

A: You should use individual item styles (you can create it in Deluxe Tuner application). For example:

  var itemStyles = [
["itemWidth=110px"], // 0 - number of the style

  var menuItems = [

["Home","testlink.html", , , , , "0", , , ], // 0 - style 0
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], // 0 - style 0
 ["|Features","testlink.html", "default.files/icon2.gif", "default.files/icon2o.gif", , , , , , ],
 ["|Installation","", "default.files/icon2.gif", "default.files/icon2o.gif", , , , , , ],

.........