Recent Questions
Q: I am having some difficulty dynamically adding items to a tree javascript and menu.
I have a menu with one "root" item. I see the use of the "+" symbol within the item name. I do not see any documentation regarding this symbol, only "|". Can you explain?
If I have one menu with this one "root" node, how would I add an subitem to this root node?
Here is my code so far, but the inserted items appear to be at the same level as the root node.
var rootItem = dtreet_ext_getItemIDByIndex ( 0,0 );
var menuItem = new Array(10);
for ( var i = 0; i < producers.length; i++ )
{
var producer = producers[ i ];
menuItem[0] = producer.name;
dtreet_ext_insertItem ( 0, 0, i + 1, menuItem );
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 javascript and menu on a page, >= 0.
parentItemID - ID property of an item.<, >= 0.
itemInd - index of a new item within the javascript and 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 thespecific place, for example set itemInd=5 if you want to add itembefore 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: Hi I recently bought a menu from you - which is great.
However, i have been told that search engines will find it hard to crawl through the menu and find the other parts of my site.
Is it possible for me to create my menu to make it easier for search engines to crawl through?
A: Deluxe Menu is a search engine friendly menu since v1.12.
To create a search engine friendly menu you should add additional html code within your html page:
< div id="dmlinks">
< a href="http://deluxe-menu.com"> menu_item_text1< /a>
< a href="http://deluxe-tree.com"> menu_item_text2< /a>
...etc.
< /div>
To generate such a code use Deluxe Tuner application.
You can find this GUI in the trial package.
Run Tuner, load your menu and click Tools/Generate SE-friendly Code (F3).
Q: We are now working with Deluxe Menu and can't get our favorite template to link. It is the one you call animated-icons
The example you gave has no links, but when we try to add links to it (in the 2nd parameter of any menu item), NOTHING happens.
It's not a broken link, it just wont do ANYTHING.
A: See your menu parameters. Now you have:
var itemTarget="";
var statusString="string";
You should set this parameters:
var itemTarget="_self";
var statusString="link";
Q: If I use the Search Engine Friendly Code feature, do I have to update or redo it each time I change the drop menu script and save, or if I do it once to the file will it automatically update on every save?
A: If you change drop menu script items (item's text and links) you should updateyour search engine friendly code. Deluxe Tuner doesn't update it onevery save (when you save your data file).
There is no need to update it when you change menu parameters only.