Javascript Tree Menu. Expandable Menu.

Use images for backgrounds of submenus and items, icons, arrows.

Use any amount of menus on a single page.

Place any HTML code within the menu item - be it a flash-object, form, picture, or text. This ability lets you to build various menus of any complexity. You can create 3-state icons for each item: normal state, mouseover state, expanded state. After clicking on menu item selected item becomes highlighted.

- this is the only menu I am interested in as it has the capability of positioning the menu script relative to an existing table in the HTML coding of the page. I already have a vertical scrolling menu with several features visitors. We are moving our website to our own server and are doing some updating to make it more attractive when viewed at different resolutions. If you look at the source coding for the page (yes, it's almost exclusively in HTML - it usually views well on any browser) you will see that ALL the content is enclosed in a table which is centered on the page allowing it to be completely viewed at any resolution of 800 x 600 or greater. But the scripting I'm using ( /* Created by Randy Bennet...) uses the left margin of the browser window as left margin of the page. If it could be written so that the left margin of the existing (and centered in the browser window) table would be the point from which the left corner of the "object1" was measured, then the page would view nicely at any resolution. But I cannot find out how to do this from your "newer version".

A: You can create the same menu using JavaScript Tree Menu:http://dhtml-menu.com/dhtml-samples/menu2752.html

To install JavaScript Tree Menu in the table cell with center alignment youshould use relative position for the menu:

Q: Why is the submenu a different colour has a different colour than menu items - surely that's not an IE specific feature? The top-level menu items seem to be a different size too, so the layout in IE looks more even.

A:Submenus has a different color because they have a transparency:

var transparency="90";

Set it to 100.

Submenus also have larger width than top items because they containsmore text. If you want to wrap the text, use tag between item words.

Q: Could you please help me with coding of the submenu box in your java script dropdown menu?I hope you can see images I've included in this email.I want to put a large block of text in the submenu. Now I can do it like the code shown here and it wraps and works OK. ["Text display","", "", "", "", "", "0", "0", "", ], ["|Text Line 1 Text Line 1Text Line 1Text Line 1<br>text Line 2text Line 2text Line 2text Line 2<br>Text line 3Text line 3Text line 3Text line 3<br>text line 4text line 4text line 4text line 4text line 4", "", "", "", "", "", "", "0"],];

The problem is that if I want a large amount of text, the line of code with text in it will be 10 miles long. Please note the line of code above isn't broken in practice. The email wraps it.

Is there any way to break the code into lines instead of one very long line?For example:

["Text display","", "", "", "", "", "0", "0", "", ], ["|Text Line 1 Text Line 1Text Line 1Text Line 1<br>Line 2text Line 2text Line 2text Line 2<br>Text line 3Text line 3Text line 3Text line 3<br>text line 4text line 4text line 4text line 4text line 4", "", "", "", "", "", "", "0"],];

No matter what way I try It won't workIs there a way?

A:The only way to do that is

["|Text Line 1 Text Line 1Text Line 1Text Line 1<br>"+"Line 2text Line 2text Line 2text Line 2<br>"+"Text line 3Text line 3Text line 3Text line 3<br>"+"text line 4text line 4text line 4text line 4text line 4", "", "", "", "", "", "", "0"],];