Javascript Tree File Explorer Code by Deluxe-Tree.com
Javascript Tree File Explorer Code


Buy Now!  Free Trial Download

Menu Screenshots Javascript Tree File Explorer Code

Javascript Tree File Explorer Code Style Toolbar Tree

Features Javascript Tree File Explorer Code

Easy Setup
  • De Luxe Tuner. GUI interface to create your javascript tree file explorer code menus easily and in no time
  • Sensible menu parameters for manual editing
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
Disable Menu Item Trees Javascript Tree File Explorer Code
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
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
Cost Effective
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • 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!
  • When the submenu is bigger than the visible page area, you can use the scollbar for submenus to scroll your menu!

Recent Questions Javascript Tree File Explorer Code

Q: I got the tabs menu to work!

Can you tell me which file(s) I must change to change the content of each tab

Very many thanks for your help.


A: For each tab you can set content <div> (contentName,contentDescription, contentVariations).

  var bmenuItems =
[
["Style Name","contentName",,,,,"1"],
["-",,,,,,"0"],
["Style Description","contentDescription"],
["-",,,,,,"0"],
["Style Variations","contentVariations"],
["-",,,,,,"0"],
["Empty",,,,,,"2"],
];

You can find these divs in the tabs-style-glass.html file. You shouldpaste the content of your tabs in these divs.


Q: Just wondering if it is possible to select a specificdhtml tab via JavaScript.
Eg. A link on the page to select the next tab (or any other for that matter)

A: You can use the following function to open appropriate tab:

Unfortunately Deluxe Tabs doesn't support API functions now.

You can use the following function to open specific tab:
dtabs_itemClick(menuInd,itemInd);
where
menuInd - index of a tab menu on a page, >= 0.
itemInd - index of a item, >=0.

For example:

<DIV onClick="dtabs_itemClick(0,2)" style="width: 200px; border: 2px solid #000;">Click to open the third tab</DIV>




Q: Some menu entries may be disabled and clicking on them should produce predefined javascript alert message?


A: To create disabled items you should set "_" symbol in the targetparameter of the menuItems.
If the target is "_" the item is disabled.
You can assign a font color for all disabled items using the following menu parameter:
  var fontColorDisabled = "#AAAAAA";
You can write a javascript code instead of an item link:

["item text", "javascript:alert('Hello World')", , , ,"_",]

That's all.


Q: Can I add the value of the parameter to the link where I want my application to go when I active a submenu in the menu script?

A: Actually you can add php code inside menu links.

If you define your parameter in .js file you should write yourlinks in the following way, for example:

<?
....
$key = 123456;
....
?>
["Home","www.domain.com/home.php?key=<? echo $key ?>", "", "", "", "", "", "", "", ],

If you define your key parameter in the php file you should move your
menuItems into your php page directly:

<?
....
$key = 123456;
....
?>

<script type="text/javascript">
  var tmenuItems = [
['JavaScript Tree Menu','http://deluxe-menu.com','icon.gif',,,,,],
['Javascript/DHTML Tree','http://deluxe-tree.com','icon.gif',,'New!',,,],
['Deluxe Tabs','http://deluxe-tabs.com','icon.gif',,'New!',,,],
["Home","www.domain.com/home.php?key=<? echo $key ?>", "", "", "", "", "", "", "", ],
];

dm_init();
</script>