Recent Questions Javascript Tree Loop
Q: I dowloaded the free trial of this product and I am trying to figure out how to put dhtml pulldown menu into a website that I have built with Homestead.com's Site Builder. I just CANNOT figure out what all I need to do to get it to work.
I am willing to pay for someone to install it or pay for the product but I need to make sure it will work on this site!
A: Unfortunately we don't work with HOMESTEAD.com page builder.
1. upload the folder with all menu files in the same folder with your html page.
2. open the page in your program
3. open html source code of the page
4. add several rows of code (<script> tags), For info see: http://deluxe-menu.com/installation-info.htmlQ: There is the possibility in the dhtml menu bars that an item has access control, that is is visible or not depending of the user?
A: You can use Javascript API and write your own code.
See more info here:
http://deluxe-menu.com/functions-info.html
You can use
dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
to disable your items or
dm_ext_changeItemVisibility (menuInd, submenuInd, itemInd, visibility)
to hide your items.Try that.Q: I am rewriting my homepage in CSS but now I have another problem with the DeLuxe menu.
The javascript top menu is well positioned on the page but the submenus are not.
The submenus are not positioned aside the javascript top menu but lower and far to much to the right.
I changed the variables
var posX = 100;
var posY = 100;
var absolutePos = 1;
var topDX = 0;
var topDY = 0;
var DX = -3;
var DY = 0;
var subMenuAlign = "left";
var subMenuVAlign = "top";
Sometimes when I change the variables the submenus are well positioned and then, after enlarging the IE-window, they are not.
What can I do?
A: It is possible that you have some problems with your css styles.
See, the problem is that the javascript top menu can't get css properties of the object if they are described in separate .css block (or file).
In other words, you can't get the value of "POSITION: absolute" attribute of the object if the object doesn't have this property within inline style (style="POSITION:absolute;"). To get the value you should move .css style into style="" attribute.
Please, try to add your
css file -> inline css, for example:
You should add style="POSITION: absolute;"
to the
<div id="block">
Q: I'm interested in using Deluxe menu for our website. It appearseverything is exactly what I want, but I do have one question.
Can I pass a selection from cascading navigation bar to a form?
A: JavaScript Tree Menus doesn't have such a feature now.
But you are able to paste any html code within items.
For example:
var menuItems = [
...
["<nobr><FORM method=GET action='http://www.google.com/custom'>
<input name='as_q' value='searchthe web' size=15 style='font-size:10'>
<INPUT type=hidden name=cof value='LW:144;L:http://domain.edu/images/sulogo.gif;
LH:45;AH:center;GL:0;S:http://domain.edu;AWFID:e01cb67b8afe383e;'></form></nobr>","",
"images/icons/search.gif", "", "", "", "", "", "", "", "",],
You should write your own code within menuItem.