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 = 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.
parentItemID - ID property of an item.<, >= 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: I am trying to make the tab menu to work correctly and after extensive testing and I have come across a problem that I can seem to get resolved. I am using images for the tab menu with no text and <divs> to display information about each tab. However while the page loads I can see all the content from all the <div> java menu bars and when the page if fully loaded, the web page then displays the content correctly with all the content hidden until the correct tab is selected. Mind you this is the only thing on the webpage so there shouldn’t be any load time problems.
Please advice what is happen to resolve this issue.
A: Try to set display: none; property for the style of your DIV, forexample:
<div id="content1" style="display: none;" class="tabPage">
<p align=center><img src="../image/img/logo_DM.gif" width=262 height=56 alt="Deluxe-Menu.com"></p>
<div id="content2" style="display: none;" class="tabPage">
<p align=center><img src="../image/img/logo_DT.gif" width=262 height=56 alt="java menu bars"></p>
Q: I have been using the trial deluxe menu with the deluxe tuner tocreate a menu and have run into a problem.
The menu is based on the following template:
Vista Styles (Part 2) Vista Style 1.
When I saved the menu file to put into an html file I followedthe instructions on the screen to save all the files to the folderwhere I wanted the menu to appear in an html., and then followedthe instructions to paste the menu into the html file where Iwanted the menu to appear.
It is not working. It seems as though something is left out ofthe code, or perhaps not all the necessary files are being copied.The menu appears perfectly in the deluxe tuner preview screen, butnot when I try to save it and use it elsewhere.
I have included all the files, including the instructions thatcame up when I saved the menu, in the attached zip file and wonderif you might take a look at it and tell me what I am doing wrong and/or leaving out.
Can you help?
A: Your menu works fine.
But you should paste
into "data-NINnew.files" folder.
A: Try to load your .pdf file into the IFRAME, for example on yourcontent frame (frame where you load your pdf files) you'll have:
<iframe src="files/1.pdf" name="iframe" style="z-index:0;" width="100%" height="100%"></iframe>
Submenus will overlap PDF correctly if you load it in the IFRAME only!