Recent Questions Html Tree View Box
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.
Q: I am having some trouble placing the cascading drop down menu in frontpage.
Does your company have some kind of tech support for the frontpage material?
A: See, you should do the following things.
1. Create your menu in Deluxe Tuner.
2. Export the menu into html file "File/Export/To HTML".
3. Copy generated folder with all engine .js files and images("deluxe-menu.files/" by default) and data-deluxe-menu.js (by default)
into the same folder with you index.html page (created inFrontPage).4. Now you should add several rows of code into your index.html file.
You can do it in FrontPage (open HTML source of the page and edit it)
or in any text editor. Open your index.html page and edit it.
Notice that you'll have errors in the Preview. But you won't get errors if you open this page in the browser.5. Add the following code in the <head>tag:
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath="deluxe-menu.files/";</script>
<script type="text/javascript" src="deluxe-menu.files/dmenu.js"></scri>
and
<script type="text/javascript" src="data-deluxe-menu.js"></scrip>
in the place where you want to have the menu.
You can paste it in <table>, <div> tags. For example.
<div align=center>
<script type="text/javascript" src="data-deluxe-menu.js"></script>
</div>
6. Save your index.html page and open it in any browser.
Q: Can I use drop down navigation menu using subfolders? I am trying to build amenu system but the website contains a lot of subfolders.
A: Yes, you can use deluxe-menu on the site with a lot of subfolders.
You can use additional parameters to make menu paths absolute:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
These parameters allow to make images and links paths absolute.
For example:
var pathPrefix_img = "http://domain.com/images/";
var pathPrefix_link = "http://domain.com/pages/";
var menuItems = [
["text", "index.html", "icon1.gif", "icon2.gif"],
];
So, link path will be look so:
http://domain.com/pages/index.html
Images paths will be look so:
http://domain.com/images/icon1.gif
http://domain.com/images/icon2.gif
Please, try to use these parameters.
Q: Where can I change the state of Vista1 buttons?
A: If you want to have 1 state button, please, go to "Edit IndividualStyle"/Item Styles. Click on the style "Top Item" and in bothitemBackImage fields you should write btn_black.gif.
So in your data file you will have such code:
var itemStyles = [
["itemWidth=92px","itemBackColor=transparent,transparent", "fontStyle=normal 11px Tahoma","fontColor=#FFFFFF,#FFFFFF", "itemBackImage=btn_black.gif,btn_black.gif"],
];