Recent Questions
Q: Can all the java script be contained with in the html and not use an external .js file?
A: Of course, you can place all Javascript data from .js file within yourhtml page code!Q: I used the glass template to create my menu.... but I needed to add additional tabs, and my additional tabs do not look like the rest of the net dropdown menu tabs... its like the end-caps on the images are not there and I don’t find any clear instruction on how to get my added tabs to look like the existing ones.
A: You should assign Individual styles for the new items. You can findthis info in the Templates window.
Q: A lot of things have come in between... Just a few more Q's before I order.
1)
At the bottom of the page you refer to below, there is a table showing the tmenuItems array, itemInd and " submenuInd ". But in the examples on the same page, the function "dtreet_ext_getItemIDByIndex" takes the arguments (menuInd, itemInd). Is the argument "menuInd" the same as "submenuInd" referred to in the javascript menu design??
2)
When I highlight an item on "onload" I need to expand that item's parent(s), right? What will happen to other, already expanded nodes when I do that? Will they still be expanded or collapsed?
A: 1) menuInd is the index of a tree menu on a page, >= 0.
First menu - menuInd=0
Second menu - menuInd=1
Third menu - menuInd=2
Fourth menu - menuInd=3
...
2) Yes, the already expanded nodes will be expanded.Q: How can I add a separator to the expanding navigation bar using the dynamic functions?
It seems as though the only way to get a separator into the menu is by defining itbefore hand,
but the website I'm building will require me to reload themenus dinamically,
and I'm losing the ability to put separators on it.
A: You should add items using the following function:
function dm_ext_addItem (menuInd, submenuInd, iParams)
or
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Find more info:
http://deluxe-menu.com/functions-info.html
Set the following parameter:
var dm_writeAll=1;
So, you should write:
dm_ext_addItem(0, 4, ["|-", "", "", "", "", "", "", ])