Recent Questions Css Dom Tree Menu Alternative
Q: I purchased your menu and I am currently using it. I was trying to use the vista template with the images. Yet when I have an js dropdown menu item that is a little long in text the image breaks in to two buttons. Is there a way to fix this or is that just the way it is with these templates?
A: Images in Vista Templates have the fixed width and height (92 x21):
var itemStyles = [
["itemWidth=92px","itemHeight=21px","itemBackColor=transparent,transparent","itemBorderWidth=0", "fontStyle=normal 11pxTahoma","fontColor=#3A3A3A,#000000", "itemBackImage=data-vista-2-04.files/btn_olive.gif,data-vista-2-04.files/btn_white.gif"],
];
When items text is too long you can have such effect.
You can try to use combined background for your items, for example:
var beforeItemImage = [,]; //left-side image for normal and mouse over state
var itemBackImage = [,]; //background or image for normal and mouse over state
var afterItemImage = [,]; //right-side image for normal and mouse over state
var beforeItemImageW = '';
var afterItemImageW = '';
var beforeItemImageH = '';
var afterItemImageH ='';
But you should create a small images in any Graph Editor, for example:
button_n_back.gif
button_n_left.gif
button_n_right.gif
button_o_back.gif
button_o_left.gif
button_o_right.gifQ: We are an enterprise license holder and have recently purchased JavaScript Tree Menu and are transitioning to it smoothly except for one minor annoyance; the first dhtml div menu item's submenu always has a gap between the browser’s left side as shown below. This happens for Internet Explorer 6, 7 and Firefox 2 and 3.04b.
If I move the menubar to the right about ten pixels, the submenu's left side will line up with the word "Search" as it should. Every other submenu on the dhtml div menu appears directly beneath its menubar item except for the very first one on the left. I’ve tried using a few of the example configurations but they all experience the same behavior.
The installation is in a multi-framed environment.
A: You should change dmenu.js file. Open it in any text editor and find:
space=15;
Change it to:
space=0;
Q: I am considering ordering your product, but I have a few questions. My site uses frames, such that the submenus display in a different frame than the top level. Do all your dhtml menu templates support frames in this manner. I am specifically interested in the Ajax and Dynamic DHTML Menu.
Are your products licensed individually or does one license get access to Ajax, Dynamic, etc.? I understand the single, multi, and developer options.
A: See you can create JavaScript Tree Menu in cross-frame mode.
See more info about cross-frame mode here:
http://deluxe-menu.com/cross-frame-mode-sample.html
JavaScript Tree Menu has the following features:
Ajax support
Cross frame support
Dynamic Menu - Javascript API
Popup mode
and others.
> Are your products licensed individually or does one license get
> access to Ajax, Dynamic, etc.?
You should order the license for JavaScript Tree Menu only.
Q: How do I make the links in the transparent drop down menu NOT open up in a new window?
A: Try to set the following parameter:
var itemTarget="_self";