Recent Questions Dojo Tree Builder Example Xml
Q: How can I change item width in the Vista templates in the drop down menu generator?
A: The width of vista images is 92px. If the width of your menu itemis wider than 92px you should correct the width of the images in anygraph editor, for example in Photoshop.
Q: I am trying to update a website using a deluxe-menu, but I do not understand the instructions for inserting it into a framed site. I have everything working, and the menu is on the page. I just cannot figure out how to make the submenus appear in another frame.
The website makes it sound like I need to alter the data.js file, but I do not have any programs on my computer that will allow me to do so.
A: You can open your data.js file in any text editor and add such linedm_initFrame("frmSet", 0, 1, 0); instead of dm_init();
More info you can find here:
http://deluxe-menu.com/cross-frame-mode-sample.html
Q: The dropdown menu works perfect locally, but when hosted it doesnt seen to work, im sorry i dont completly understand what you mean when using the other parameters to make it absolute... here is the html files, and the .js files included in a zip file.
A: Now on your website you have the following code:
["Home","C:\Documents and Settings\Josh\Desktop\Josh\Alsek Website\home.htm", , , , "iframe", , , , ],
["Products","", , , , , , , , ],
["|Lift Kits","C:/Documents and Settings/Josh/Desktop/Josh/Alsek Website/Pages/LiftKits.html", , , , "iframe", , , , ],
...
On your website you're using paths to the pages situated on a localdisk. It is not right.
You can try to write
["Home","pages/home.htm", , , , "iframe", , , , ],
["Products","", , , , , , , , ],
["|Lift Kits","pages/LiftKits.html", , , , "iframe", , , , ],
...
You can also use pathPrefix_link parameter.
var pathPrefix_link = "http://www.domain.com/";
and write
["Home","home.htm", , , , "iframe", , , , ],
["Products","", , , , , , , , ],
["|Lift Kits","pages/LiftKits.html", , , , "iframe", , , , ],
Q: Is there a way to hide a menu options using either CSS or the java api based on the site user for the mouseover menu?
A: JavaScript Tree Menu supports Javascript API.
You can find more info here:
http://deluxe-menu.com/dynamic-functions-sample.html
You can try to use API functions in that case:
function dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
To disable items you should set the target parameter to "_".
You can try to use the following function
function disable() {
dm_ext_changeItem(0, 1, 1, ["", "", "", "", "", "_"]);
}
to disable your items.