Recent Questions
Q: I should like that the active item were not stand out changing thebackground color to blue, but underlined, but I don't find as to do it.
A: Try to set the following parameter: var ttoggleMode = 1;
Q: Well I figured all of that out but now I have a new problem.The content of the textarea tabs is not displaying in IE.
A: See, it is not correctly to use submenus in tabMode=0.
Now you have:
var bmenuItems = [
["Why Choose Frictionsweb?","content1", "", "", "", "Why choose Frictionsweb Premium Internet Services?", "", "", "", ],
["|Our Services","content2", "", "", "", "We handle your project from the ground up!", "", "", "", ],
];
var bmenuItems = [
["Specials","content3", "", "", "", "Great Deals from Frictionsweb!", "", "", "", ],
["|Our Services","content4", "", "", "", "We handle your project from the ground up!", "", "", "", ],
["-","", "", "", "", "", "", "", "", ],
];
Try to write your bmenuItems in the following way:
var bmenuItems = [
["Why Choose Frictionsweb?","content1", "", "", "", "Why choose Frictionsweb Premium Internet Services?", "", "", "", ],
["Our Services","content2", "", "", "", "We handle your project from the ground up!", "", "", "", ],
];
var bmenuItems = [
["Specials","content3", "", "", "", "Great Deals from Frictionsweb!", "", "", "", ],
["Our Services","content4", "", "", "", "We handle your project from the ground up!", "", "", "", ],
["-","", "", "", "", "", "", "", "", ],
];
Q: I am having some difficulty dynamically adding items to a dhtml sliding menus.
A: See dtreet_ext_insertItem () function has the following parameters:
function dtreet_ext_insertItem (menuInd, parentItemID, itemInd, itemParams)
Creates a new item and inserts it into a specified position.
menuInd - index of a menu on a page, >= 0.
parentItemID - ID property of an item.<, >= 0.
itemInd - index of a new item within the menu, >= 0.
itemParams - item parameters.
Notice that parentItemID is the Id property of the parent item
(notindex). If you want to add top items you should set parentItemID=0.
itemInd - you should use this parameter if you want to add item in the
specific place, for example set itemInd=5 if you want to add item
before the existing item with itemInd=5.
If you set itemInd=null the new item will be added at the end of this submenu and its index will be added automatically.
Q: How can I keep the java slide menu items from opening into a new window when selected?
A: You can set target parameter for all items:
var itemTarget="_self";
or for each item individually:
["Home","testlink.html", "", "", "", "_self", "", "", "", "", "", ],