Recent Questions Css Text Tree Menu
Q: Hi I have a menu item which has a word wrap on it. The word wrap it auto so instead of saying the following
Sickline Call
123456789
It says
Sickline Call 123
456789
I need to put either spaces in the title to level it out or a carage return
A: You can use any <html> code within menuItems, for example:
var menuItems = [
["Home","testlink.html", "", "", "", "", "", "", "", ],
["Sickline Call<br>123456789","", "default.files/icon1.gif", "default.files/icon1o.gif", "", "", "", "", "", ],
Q: I have another question regarding the popup window. I need to use an iframe within the popup window. Is there any way I can close the dhtml popup from the page loaded within the iframe?
A: You can close the popup using the following function:
document.getElementById('win').hide();
Unfortunately it won't work if you use iframe as window content.
You open another page in the popup (in Iframe) so you cannot accessdocument.getElementById('win').hide();
element which is situated on the first page.
When you use text or object_id as window content the content of the popup will be situatedon the same page so you can access document.getElementById('win') element and hide it.
There is a workaround.
Use text as content type and add the following code inside popup:
<a onclick="document.getElementById('win').hide();">...</a> <iframe></iframe>
Your link will work in that case. Q: If you take a look at the upper menu, I have "|" separating all of the various menu items. How can I do this with JavaScript Tree Menu?
I don't want to resort to using messages and would like to use the "|" character if at all possible.
A: You can paste a separator.
Please, see the following parameters:
//------- Separators -------
//--- Separators
var separatorImage="";
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif";
var separatorVWidth="3";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
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.