Recent Questions Javascript Tree Menu Navigation Code
Q: I recently downloaded the trial version of JavaScript Tree Menu-Javascript/DHTML Tree and Deluxe Tabs. I am very, very pleased with your product!! I wish to purchase JavaScript Tree Menu & Tree & Tabs & Popup Window & Calendar Single Website License Product # 300094393.
However, before I do, I have a few questions first.
Question #1
I created a DeluxeTree Menu that is very large due to the amount of pages in my website and tested it on my website. It works fine. Of course I have created and saved a .js file and still have to add much more submenus to it. When I purchase the full version of javascript context menu will and begin to modify this .js file that I created will the "Trail Version" logo disappear? I hope so because it would be quite a task to have to re-create this file.
Question #2
I also created a JavaScript Tree Menu in a cross frame structure and placed the menu in the top frame. When I tested it and click on the menu button, the submenus drop down but do not appear in the frame below. They remain in the top frame forcing me to resize the top frame to see the submenus. When I viewed the example on your website for the cross frame structure, the examples show the submenus overlapping and appearing on the frame below the top frame. How do I fix this?
Thank you for time, looking forward to purchasing your product.
A: 1) There is no need to create your javascript context menu after the purchase.
You'll use new engine files only.
The purchased version of JavaScript Tree Menus doesn't have nag messages.
You'll see "Incorrect Key" message on a local machine but you won't see it on a registered domain.
2) You should install the menu in a cross-frame mode, see more info here:
http://www.deluxe-menu.com/cross-frame-mode-sample.html
Click "Show additional info" button.
Q: 1) Can any HTML be inserted in to the text?
2) As the item has no link, how can I prevent the item being highlighted on mouseover?
A: 1) Yes, you can insert any html code within menuItems, for example:
["|You can place <b>any HTML code</b><br> to item, for example <u>image</u>:<br><img src=img/logo.gif>","testlink.html"],
["|Index <select style='width:120px;height:17px;font:normal 10px Tahoma,Arial;'><option>Section 1<option>Section 2<option>Section 3</select>", "", "", "", "", "", "", ""],
["|Search <input type=text style='width:80px;height:17px;font:normal 10px Tahoma,Arial;'> <input type=button value='Go' style='width:30px;height:17px;font:normal 10px Tahoma,Arial;'>", "", "", "", "", "", "", "0"],
["|Write Us", "mailto:[email protected]", ""],
2) Yes, you can do it.
You should create Individual Style for it.
For example:
var itemStyles = [
["itemBackColor=#FCEEB0,#FCEEB0","itemBorderColor=,#FCEEB0","fontColor=,#000000"], //style0
];
["Product Info","", "default.files/icon1.gif", "default.files/icon1o.gif", , , "0", , , ], //style0
Q: I am working on a menu for a client. I have most of the functionality in place for this client. I have 2 questions that I have not been able to figure out on this menu.
1. Is there a way to define the border image or color on an item in this simple javascript dropdown menu. I need to be able to add in lines between the items. I have not been able to figure out how to do that.
2. Is there a way to dynamically highlite an item? For instance if you are on the page "Horizon for SAP" as illustrated, I would want that to show differently in the menu.
I have written scripts to dynamically generate this menu based off of a sitemap. I just need to make one item on it look different based on your breadcrumb or where you are in the site.
A: > Is there a way to define the border image or color on an item.
You can't specify the image for border, but the color and width are fully configurable.
> 2. Is there a way to dynamically highlite an item?
Yes, please see
http://deluxe-menu.com/dynamic-functions-sample.html
Q: Is it possible to use this easy drop down menu as a static HTML form element so it does not behave like a link but its value is posted with other form elements on submit?
A: You are able to paste any html code within items.
So you can paste a form too.
For example:
var menuItems = [
...
["<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", "", "", "",],