Recent Questions Tree View Snow Leopard
Q: My site requires me to regularly update the drop down menu by inserting a new item at the top of the list.
A: Add items using the following function:
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Adds the new item to a submenu.
menuInd - index of a menu on a page, >= 0.
submenuInd - index of a submenu, >= 0.
iParams = [array] - the array of item parameters.
This parameter has the same structure as an item in menuItems array.
You can assign parameters of another existent item of the menu
(for example, when you want to create a duplicate of the existent item) or create new ones.
Structure of iParams:
[item_text, link, icon_normal, icon_over, tip, target, individual_style_index, jsFilename]
Pos - the position in the menu where you want to add new item.
Find more info:
http://deluxe-menu.com/functions-info.htmlQ: We have a problem. If the "sub menus" open downward (in a horizontal menu) and there is Flash under it, the menu disappears. It goes BEHIND the flash and can't be seen.
Is there a fix for this?
I honestly don't recall it happening before but it now does. I probably didn't pay attention. Thank you!
A: Please, check that you've set the following parameter:
var dmObjectsCheck=1;
Please, use dmenu_add.js file.For more info, please, see:http://deluxe-menu.com/objects-overlapping-sample.html
Q: Is there any way I can do the opposite and make the space my separators take up only a few pixels high? At present I can only make them the same height as the other buttons even though the separator image is only 2 pixels high.
A: You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
Q: Thank you for the information and especially for your good explaination of the ways DHTML and Java work with menus. I want to get a menu because I was asked to base a new web site on one that used 'showpage.asp' calls to createtheir menus. Can you throw some light on how I would go about doing that?
A: JavaScript Tree Menu and Java Menus work on aclient side only and they don't depend on the server which you'reusing and they don't work on a server side as ASP.NET script.So, you can create the menu using standard html page and them movemenu code within .asp page.
Please, try the trial version of the menu. You can use GUI to createyour menu. You can find it in the trial package.