Recent Questions Componentart Treeview Submenu
Q: I have built a new drop down css menu.
I have a named frame body but when I use the menu creater it works and changes the frame but when loaded to the site it says error on page.
what have I done wrong ?
Try the home which calls home_body.htm and about us which calls About Us.html in the body frame top the right of the menu.
A: You cannot use local paths on the Internet sites. They won't work.
["Home","", "", "", "", "", "", "", "", ],
["|Back to main page","D:/Web Design/CCA/home_body.htm", "", "", "", "", "body", "", "", ],
["About Us","", "", "", "", "", "", "", "", ],
["|History","D:/Web Design/CCA/About Us.html", "", "", "", "", "body", "", "", ],
You should write, for example:
["Home","", "", "", "", "", "", "", "", ],
["|Back to main page","home_body.htm", "", "", "", "", "body", "", "", ],
["About Us","", "", "", "", "", "", "", "", ],
["|History","About Us.html", "", "", "", "", "body", "", "", ],
Q: I had create a website navigation bar ,in that I need to give separator. But its not working.
Please advise.
A: To add a separator you should
//--- Separators
var separatorImage=""; //for subitems (top items in vertical menu)
var separatorWidth="100%";
var separatorHeight="3px";
var separatorAlignment="right";
var separatorVImage="separator.gif"; //for the top items (subitems items in vertical menu)
var separatorVWidth="100%";
var separatorVHeight="2px";
var separatorPadding="";
You can create separators using menuItems (you can do it in DeluxeTuner, use "Add separator" button), for example:
var menuItems = [
["item 1"],
["-"], // this item is separator
["item 2"],
];
Q: On the same collapsible menus, is there any way to remove the spaces between the top items?
A: No, unfortunately there is no way to remove that space in XP Style
var tXPStyle=1;
If you use
var tXPStyle=0;
you can set the following parameter:
var titemHeight=18;
Q: Does this mean that nothing needs to be installed on the server side to make javascript menu?
Here is why I am asking this:
We have a main "corporate" web site, which is going to use the JavaScript Tree Menu. One of the links on the main site will launch a page, which is running on a separate web server (physically separate server, and not a load-balancing scenario). Since all of these pages should look identical to the users, they all have to use the exact same configuration and look&feel in JavaScript Tree Menu. I was wondering if any "configuration" type settings are stored on the server. In other words, would we have to maintain the JavaScript Tree Menu install on two separate servers?
A: There is no need to install anything on your server. You should onlycopy a folder with all engine files (dmenu.js, dmenu_add.js, ...) anddata file on your server. Then you should call these files on yourpages, for example:
<body>
<script type="text/javascript"> var dmWorkPath="menu.files/";</script>
<script type="text/javascript" src="menu.files/dmenu.js"></script>
...
<script type="text/javascript" src="data.js"></script>
> In other words, would we have to
> maintain the JavaScript Tree Menu install on two separate servers?
Actually you can copy deluxe menu files on the one server only anduse absolute paths.