Recent Questions Extjs Tree Context Menu
Q: Currently let us know how can we align the text at the top dropdown menu script so that the text will appear above the horizontal line.
Kindly help us to solve this problem as soon as possible.
A: Unfortunately you cannot set vertical align for items text.But you can try to write your item text in the following way:
var menuItems = [
["Home<br> ","/index.asp?pgid=1", , , , , "0", , , ],
["About Us<br> ","/index.asp?pgid=2", , , , , "0", , , ],
["Company News<br> ","/index.asp?pgid=3", , , , , "0", , , ],
["Services<br> ","/index.asp?pgid=4", , , , , "0", , , ],
["|Custom Publishing","/index.asp?pgid=6", , , , , , , ,],
["|On Product Publishing","/index.asp?pgid=7", , , , , , , , ],
["|Investment","/index.asp?pgid=10", , , , , , , , ],
["Contact Us<br> ","/index.asp?pgid=5", , , , , "0", ,, ],
];
Q: I need to use an iframe within the popup window.
Is there any way I can close the dhtml window 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 access
document.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 situated
on 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: I purchased the most recent version of "JavaScript Tree Menu & Tree & Tabs & Window Multiple Website License", and now can't open menus from previous versions. When I try to open a custom drop down menu that was created in an older version, I get the error:
Can't open the file:
c:\webs\ltron\ltronmenudata.js
Check youre encode parameter
This happens on all of the older menus that we're trying to update............Do I have to run some type of conversion program on older menu files?
Please let me know as quickly as possible.........we have over 100 custom drop down menus out there and now it seems that we can't edit them!
A: This message means that you should change the encoding:
"Tools/Use utf8 encode"
Change this setting and then open your data files.
Q: Is there a instruction manual on how to use all the features of javascript for dropdown menu? The "help" screen does not give detailed instructions of all the Parameters, Appearance, Individual Style features, Item Parameters, etc. etc.
A: Actually you can find all info about the menu parameters and featureson our website:
- menu parameter and items, Individual Styles:
http://deluxe-menu.com/parameters-info.html
http://deluxe-menu.com/menu-items-info.html
http://deluxe-menu.com/individual-item-styles-info.html
http://deluxe-menu.com/individual-submenu-styles-info.html
- dynamic functions:
http://deluxe-menu.com/functions-info.html
http://deluxe-menu.com/dynamic-functions-sample.html