Recent Questions
Q: We do need the menuitem separation bars as most of the menuitems are quit lengthy, and there needs to be a separation bar to distinguish between them.
A: If you want to add separators between items you can paste a separatorbetween items or you can set item's border width in the following way:
var itemBorderWidth="0 0 1 0";
But you cannot enter this value in Deluxe Tuner you should set thisparameter manually.
You can also create style for the last item with border width = 0:
var itemStyles = [
["itemBorderWidth=0"],
];
To add separators, please, see the following parameters:
//--- Separators
var separatorImage=""; //for subitems
var separatorWidth="5";
var separatorHeight="100%";
var separatorAlignment="right";
var separatorVImage="images/public/separator.gif"; //for the top items
var separatorVWidth="1";
var separatorVHeight="100%";
var separatorPadding="";
You should set a separator in the menuItems, for example:
var menuItems = [
["Home","index.cfm", , , , , , , , ],
["-"],
["About Us","about.cfm", , , , , , , , ],
];
Q: I have a question that I cannot find in your FAQ section about your Deluxe Tree Menu.
Bought the whole set a few days ago and is very happy about it, I am uzzled & frustrated about one thing now though.
- = Link
+ = Link with subCat.
I have a menu that looks something like this:
- Home
+ Our products
+ FAQ
+ Stores
- Contact
+ Wholeseller
+ About us
Now every link here has a icon/s to the right that shows if the category is folded up or not. Trouble is that so has the - Home and - Contact that DON'T have any subitems! How to create dhtml menu so those two tree items won't get the rightsided icons?
The frustrating/confusing thing is if I place - Home or - Contact into lets say + Our products, the right side icon goes away and there it looks as I want it. But I NEED it to look this way in the top section.
A: You have icons in the top items on the right side in XP-style only.
You can set the following parameter to turn off XP-style:
var tXPStyle=0;
Q: I wonder if you can help me. I've uploaded all my files, including the menus to the client site.
All the menus were working fine, where each link was targeted to the frame "mainFrame" in the middle of the page. This morning, all the css javascript menu link targets don't work anymore. That is, the targeting info has not changed but the linked pages are opening up as a _parent page -- that is, replacing the entire page.
A: You should use absolute paths.
See the url browser tried to open:
http://domain.com/a_bp/bpdoc/3sell/32_sales_order_management/321_sales_order/
7operations/72_monitor_operations/index.html
instead of:
http://domain.com/7operations/72_monitor_operations/index.html
var pathPrefix_link = "http://domain.com/pages/";
These parameter allows to make links paths absolute.
For example:
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
Please, try to use this parameter.
Q: Thank you for your help, I have downloaded the updated link the .js files are there. I have been using the tuner and was wondering how to change the colors of the main menu bar. I have selected a template that we like (Vista 3, #5), but it isn't quite the right shade of green. I have figured out how to change the colors of all of the "sub" menus, but I don't see where to change the main menu bar. Is this possible, if so, where do I make the change(s)?
A: Top menu items in Vista styles use images as backgrounds. You cannotchange its color in Deluxe Tuner.
You should change the image color. You can do it in any Graph Editor,for example PhotoShop.