Recent Questions Treeview Javascript Tree Menu
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.
Q: I am having trouble changing a template of dhtml drop down menu code. I am using the
http://deluxe-menu.com/data-templates/image-based-1-template-sample.html,
and I want to add more items to the top menu, however when I add an item, it doesn't follow the format of the existing items.
A: See, we use Individual Item Styles for the top items in this template.
For, example select the "CONTACTS" item on the main window.
In the "Item Parameters" window you can see Individual Styles assignedfor this item:
Item Style - Style1
Icons / Normal - images/spacer.gif
When you add the new item you should assign Individual Styles for itand add icon in the same way.
That is all.
Q: I have created a CSS menu that appears in the <noscript> section, but am having a problem getting it to behave the same as the java menu. I want to show all the items as asingle line at each level, aligned to the left of the frame. I cannot find a way ofsetting left align in the style sheet or in the deluxe tuner for the css dhtml menu.
A: We've added align parameters in the new version 3.6:
var subMenuAlign="pleft";
You should set this parameter and specify width for submenu. You can use different smwidthfor each submenu using Individual Submenu styles.
Q: I am having problems with my html files that are located in sub folders of my site the menu html does not work on them.If they are in the root directory there is no problem.
A: 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