Recent Questions Remove Root From Tigra Tree
Q: Can I use data from a SQL server using ASP for drop down menu code?
A: You may generate a menu from a database or XML using any server-side script, e.g., PHP, ASP, VB, etc.
However, these scripts don't work inside of Javascript .js files,
so, you should move parameters of a menu from a .js file into an html-page, e.g.:
<!-- JavaScript Tree Menu -->
<noscript><a href="http://deluxe-menu.com">Javascript Menu by Deluxe-Menu.com</a></noscript>
<script type="text/javascript"> var dmWorkPath = "menudir/";</script>
<script type="text/javascript" src="menudir/dmenu.js"></script>
<!-- (c) 2006, http://deluxe-menu.com -->
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var menuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
Unfortunately we don't have examples with ASP and SQL.
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
Q: I appreciated your prompt response. However, if I set the exact height for easy tabs content, certain tab's content will not show up fully. We need to have every tab has different height in this site. Do you know why IE 7 doesn't behavior properly but IE 6 does? Can you provide a work around for me ASAP?
A: In that case you should delete height parameter at all from yourstyles.
<div id="content1" style="visibility: hidden;" class="tabPage">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: We just downloaded the trial versions to evaluate and I noticed something a little odd. When I build a menu that will not have icons next to the links, I don't see a way the I can move the test further tothe left inside the menu.
Notice how the links within the menu box are almost centered? Is there anyway to move those items further to the left?
A: Try to set the following parameter.
var tlevelDX=0;
You cannot move it closer to the left side.