Recent Questions Componentart Doubleclick To Edit In Treeview
Q: I see that you have the demo of the menu working over a frame so that it displays over the lower frame, vertical top to bottom.
However I have played around with your demo and can't seem to replicate the same feature.
Could you please tell me what I have to set to make the easy dropdown menu float over the lower framed window?
A: To initialize the cross frame menu call dm_initFrame() function instead of standard dm_init() function within data.js file:
dm_initFrame(framesetID, mainFrameInd, subFrameInd, orientation);
framesetID - id attribute of the frameset;
mainFrameInd - index of the main frame (where the top-menu is placed), >=0;
subFrameInd - index of the subframe (where the submenus will be shown), >=0;
orientation - frame orientaion: 0 - top-to-bottom, 1 - left-to-right; 2 - bottom-to-top; 3 - right-to-left.
For example, for the following structure:
<frameset id="frmSet" rows="185,*">
<frame id="frame1" src="cross-frame-horizontal-1.htm">
<frame id="frame2" name="testlink.htm" scrolling="no">
</frameset>
the dm_initFrame() function call at the end of data.js file will look like:
dm_initFrame("frmSet", 0, 1, 0);
Q: I have menus generated by you deluxe menu package . They look fine on all my computer but look bad on my friends computer.
Can this be fixed?
A: Thanks for your interest in our products.
Try to specify all units in "px", for example:
var menuHeight="22px";
Try to set exact width for menu item
var menuWidth="736px";
Try also not to set
var smWidth="0";
var smHeight="0";
Please, see the attached data file.
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: I want to use your menu to create a javascript menu bars like effect in my application. For that I need only the images in the menu items and sub menu items(no text).
And I also want to enable disable toolbar items dynamically depending on the flow in my web application.
I could not find any help for the javascript API on your site that changes the menu dynamically.
A: Our menu is very flexible, so you'll be able to implement any menusystem you want, see for example:
http://deluxe-menu.com/data-templates/xp-style-taskbar-template-sample.html
http://deluxe-menu.com/data-templates/xp-style-1-template-sample.html
>> I could not find any help for the javascript API
Please see this:
http://deluxe-menu.com/functions-info.html
http://deluxe-menu.com/dynamic-functions-sample.html
Q: I am becoming more frustrated by the moment. I try to add more menu items, the default icons (images) disappear and I can't figure out how to get them back.
Is this a bug in your software or am I simply doing something wrong? Every time this happens, I have to start over and end up with the same results - lost or missing icons.
A: That's mean that you don't use Individual Item Styles for the newitems.
Please, see how you should use Individual Styles for the items similar the one which you're going tocreate and see it parameters.
You should use the same parameters for the new item.
Try that.