Recent Questions Js Tree Mysq Ajax Loading
Q: I'm trying to implement your javascript menu source on a clients' web site.
If you go to my website you'll see my problem. I can't get javascript menu source to centre in the table I want it to - which is just below the header flash in between the two yellow lines.
Could you let me know what to do - then I can show it to my client and order it!
A: Now you're using absolute position for javascript menu source:
var absolutePos=1;
You should use relative position:
var absolutePos=0;
Q: How can I vary the width of the individual items (Home, Product Info etc) on the main menu bar?
A: I'm not sure I understand you. You want to use different width (exactwidth) for the main items?
You can use Individual Styles to set the width for the menu items.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" , , , ],
["|XLCubed Excel Edition","pro_excel.html", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|XLCubed Web Edition","pro_web.html", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|TM1 Connection","tm1Connection.htm", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , "_self", , "0", , ],
["|Downloads","downloads.htm", "data.files/iconBlue.gif", "data.files/iconWhite.gif", , , , , , ],
["","", "data.files/demoCenter.gif", "data.files/demoCenter_mo.gif", , ,"1", , , ],
Q: Can we right justify the secondary nav?
If so, can you send instructions on how. Thanks.
A: You should set the following parameters:
var titemAlign = "right";
var ticonAlign = "right";
Q: What I meant was that there is an API function dm_ext_changeItem that allows you to specify 8 dropdown menu parameters in an array. What if I only want to change one of them like the link for example? What do I specify in my function call to leave the other 7 parameters unchanged? Do I specify the existing values? Or, can I just put in a comma with no parameter? That would be a lot easier. Thank you.
A: You should specify only dropdown menu parameters you want to change.
You should just put a commas with no parameters, for example:
dm_ext_changeItem(0, 0, 1, ["JavaScript Tree Menu Info", "", "", "", "JavaScript Tree Menu Hint",,"1"]);