Javascript Dtree Ajax Problem by Deluxe-Tree.com
Javascript Dtree Ajax Problem


Buy Now!  Free Trial Download

Menu Screenshots Javascript Dtree Ajax Problem

Javascript Dtree Ajax Problem Html Tree Rollover Drop Down

Features Javascript Dtree Ajax Problem

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
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".
Tree Pop Up Menu Sample Javascript Dtree Ajax Problem
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
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
Easy Setup
  • De Luxe Tuner. GUI interface to create your javascript dtree ajax problem menus easily and in no time
  • Sensible menu parameters for manual editing
Buy Now!  Free Trial Download

Javascript Tree Menu. Expandable Menu.

  • Tune menu parameters manually or using Deluxe Tuner. Then add several rows of a code within html page - your menu is ready!
  • Use special JavaScript functions for: Dynamic changing of items (text, link, icons and even individual style!). Making a menu item active/disabled. Addition/removing of items. Changing of visibility of items. Collapsing/expanding of items. Getting the information on any menu, submenu and items. Other tricks. But for all that it's not necessary to insert any additional code into all the pages - just specify some additional parameters of the menu.

Recent Questions Javascript Dtree Ajax Problem

Q: I figure I'm missing something basic ....

I've created a simple horizontal menu and uploaded the various files to to my website go generate the bar food menu

How do I add content to each tab rollovers so that the content will appear on this same page (as opposed to having to move to another page)?

i.e. when you click on starters, you see the starter below,
when you click on mains you see the mains below
etc. etc.

I'm new to this .....

A: You should paste your content in the <div> .. </div> tags.

<div id="content1" style=" visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DM.gif" width=262 height=56 alt="Deluxe-Menu.com"></p>
</div>

<div id="content2" style="visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DT.gif" width=262 height=56 alt="Deluxe-Tree.com"></p>

</div>

<div id="content3" style=" visibility: hidden;" class="tabPage">
<br><br><br>
<p align=center><img src="img/logo_DTabs.gif" width=254 height=58 alt="Deluxe-Tabs.com"></p>
</div>

See in Deluxe Tabs there are two modes:

1.   var tabMode=0;
You can create only one level of tabs and assign Object Id's of theDIV's to show when you click on the tab rollovers.

["XP Tab 1","content1", "", "", "", "", "", "", "", ],
["XP Tab 2","content2", "", "", "", "", "", "", "", ],
["XP Tab 3","content3", "", "", "", "", "", "", "", ],
["XP Tab 4","content4", "", "", "", "", "", "", "", ],

2.   var tabMode=1;
You can assign only links in this mode.
You should create top level items with subitems.

["XP Tab 1","", "", "", "", "", "", "", "", ],
     ["|Link 1_1","http://deluxe-tabs.com", "", "", "", "", "0", "", "", ],
     ["|Link 1_2","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 1_3","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 1_4","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 1_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 2","", "", "", "", "", "", "", "", ],
     ["|Link 2_1","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_2","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_3","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_4","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 2_5","testlink.htm", "", "", "", "", "0", "", "", ],
["XP Tab 3","", "", "", "", "", "", "", "", ],
     ["|Link 3_1","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_2","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_3","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_4","testlink.htm", "", "", "", "", "0", "", "", ],
     ["|Link 3_5","testlink.htm", "", "", "", "", "0", "", "", ],

You can use Object ID as well as Link in both modes. Use the following prefixes within item's link field:
"object:" - means that there is object id after it;
"link:" - means that there is a link after it.
"javascript:" - means that there is a javascript code after it, for example:javascript:alert(\'Hello!\')

So, you should write for example:

 ["|Link 1_1","object:Content1_1", "", "", "", "", "0", "", "", ],


Q: When I create a tree menu that can be expanded with the double arrows. I was wonder if there was a way to have the dhtml slide tree menu already expanded with I open the page the menu is on instead of having to expanded every time.


A: To expand items by default in Javascript/DHTML Tree you should add '+' symbolbefore item text.

Foe example:
["+Javascript/DHTML Tree: XP Style","", "default.files/xpicon1_s.gif", "", "", "XP Title Tip", "", "0", "", ],
 ["|Home","testlink.htm", "default.files/icon1_s.gif", "default.files/icon1_so.gif", "", "Home Page Tip", "", "", "", ],
 ["|Product Info","", "default.files/icon2_s.gif", "default.files/icon2_so.gif", "", "Product Info Tip", "", "", "", ],
   ["||What's New","testlink.htm", "default.files/iconarrs.gif", "", "", "", "", "", "", ],
   ["||Features","testlink.htm", "default.files/iconarrs.gif", "", "", "", "", "", "", ],
...

The following parameter expands all menu items by default:

  var texpanded=1;


Q: What i need is when the menu item is clicked in the dhtml context menu, it'll run a json the onclick or mouseup event.
Is this possible?

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

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

Actually you can use any html code within menuItems.

Q: I wanted to know if there's a way to make in the javascript expand menu the submenu to appear as regular text, not a link. Is there a way to do this?

A: Actually you are able to paste any html code within items.

For example:

  var tmenuItems = [
...
   ["||<nobr><FORM method=GET action='http://www.google.com/custom'><input name='as_q' value='searchthe web' size=15 style='font-size:10'> <INPUT type=hidden name=cof value='LW:144;L:http://domain.edu/images/sulogo.gif;LH:45;AH:center;GL:0;S:http://domain.edu;AWFID:e01cb67b8afe383e;'></form></nobr>","", "images/icons/search.gif", "", "", "", "", "2", "", "", "",],
["test","testlink.html","",]
["<a href='testlink.html'> test </a>","","",]
 ["|There will be NO setup charge, if your letter is completely setup, and requires no further modifications.
To qualify for this option, you must provide us your letter in <b>Microsoft Word format</b> (version 2000 or newer).
Any/all graphics must be embedded in the Word document including your signature.
Your letters will be printed in the provided format without any changes such as repositioning, resizing or any <a href='testlink.html'>other modifications</a> to your text/graphics. If you require help with such changes, please use our Standard setup for a nominal fee. If your ^lt;font color="#0080ff">letter is using an uncommon font</font> (any font not standard to the Windows environment), then you must also email us the font file. You must also indicate the placement of any merge fields in the letter (the information you're pulling from your mailing list to be combined with each letter). To find out more about mail merge click here. ","","",]