Recent Questions Css Menu Hover Tree
Q: How do I make the top nav buttons exactly the same width for each button?
Total menu width is 743px and I have 6 buttons I want the width of each button to be fixed at 123px.
I set var menuWidth="743" but it averages out the buttons based on the text.
A: You should use individual item styles. For example:
var itemStyles = [
["itemWidth=123px"], //style 0
];
var menuItems = [
["Home","testlink.html", , , , , "0", , , ], //style 0
["Product Info","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", , , "0", , , ], //style 0
Q: I am looking to integrate your menu system into a CMS (Content Management System) such as Joomla. I was curious if you have any supporting documentation as to any steps that could make this any easier; or if its anything you have looked at previously. I know some menu systems actually have export modules in which it will export their system to a CMS compatible template; does this menu software have any of the functionality; or modules (even 3rd party modules) that perform similar function?
A: JavaScript Tree Menu wasn't developed as Joomla extension,BUT you can use it as standard Javascript files.
To create and configure your menus use Deluxe Tuner application
(included into the trial package): http://deluxe-menu.com/deluxe-tuner-info.html
Please, try the trial version.
Q: I changed the parameter from
var dmObjectsCheck=0;
to
var dmObjectsCheck=1;
in the data.js file
but it didn't change it;
_____________________
I opened the dmenu_add.js file, but I'm not sure what I'm supposed to do with it?
_____________________
I went to your sample page and I would like to add the item widths into mydata.js file, but each item is a different width. Would it be correct for meto do this?...
var itemStyles = [
["itemWidth=98px"],
];
Or will I have to make all the main menu items/graphics the same width?
A: You don't have to change your dmenu_add.js file.
Please, place this file in the folder where your menu iscreated in.
Yes, you can set itemWidth for each main item.
Please, use Deluxe Tuner to create your individual styles.
You should write, for example, so:
var itemStyles = [
["itemWidth=98px"], // style 0
["itemWidth=100px"], // style 1
["itemWidth=110px"], // style 2
["itemWidth=120px"], // style 3
["itemWidth=95px"], // style 4
];
var menuItems = [
["","", "data.files/products.gif", "data.files/products_mo.gif", "Products", "_self","0" , , , ],
["","", "data.files/demoCenter.gif", "data.files/demoCenter_mo.gif", , ,"1", , , ],
["","", "data.files/resources.gif", "data.files/resources_mo.gif", , ,"2", , , ],
["","support.htm", "data.files/support.gif", "data.files/support_mo.gif", , "_self","4", , , ],
["","", "data.files/company.gif", "data.files/company_mo.gif", , , , , , ],];
Q: I would like to create my own jpeg images and use them as the mouseover-items in the top level drop down menus. I am not talking about the backround. I mean the actual upfront button.
I seem to be locked into the size which is the default and would like to change it to width = 180px and height = 45px for each item in the menu.
Is there any way to do that?
A: You should create Individual Style and assign it for all top items.
var itemStyles = [
["itemWidth=180px"],
];
var menuItems = [
["Home","testlink.html", "", "", "", "", "0", "", "", ],
["Product Info","", "deluxe-menu.files/icon1.gif", "deluxe-menu.files/icon1o.gif", "", "", "0", "", "", ],