Recent Questions Ajax Style Category Tree Listing
Q: We are wanting to make this collapsible menu Dynamic by reading from a Microsoft SQL Data base.What is the approach in accomplishing this?
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.:
<noscript><a href="http://deluxe-tree.com">Javascript Tree Menu by Deluxe-Tree.com</a></noscript>
<script type="text/javascript" src="menudir/dtree.js"></script>
<script type="text/javascript" language="JavaScript1.2">
// and describe parameters of a menu
var parameter1=value1;
var parameter2=value2;
etc.
var tmenuItems = [
// here you generate items using server-side scripts (php, asp, vb, etc.)
];
The example of the menu working with PHP/MYSQL you can find here:
http://deluxe-menu.com/rq-loading-bar-MySQL-support.html
This example is not for Javascript/DHTML Tree menu, but you can create your menu in the same way.
Q: How I can set left align for the arrows in my drop down menu templates?
var arrowImageSub=["arr_1_blk.gif","arr_1_red.gif"];
A: If you want that your arrows will appear on the left side you shouldset:
var dmRTL=0;
parameter.
Q: When Mouse hover on Menu, menu Items showing below (showing down) the Menu. Is it possible to show the Menu Item List in up direction (above the Menu)? Please assist me in this issue.
A: See more info here:
http://deluxe-menu.com/ways-showing-submenus-sample.html
You should use the following parameter:
var smViewType = 1;
Q: Another question on the "onePerSession" parameter of window onload popup. Is there some other condition to it? I set it on the popup but the popup keeps coming back up. Could it be related only to window that initially loads?
Another question. I have a page with numerous popup windows. Could there be some strategy to having the opening a subsequent popup opening closing a previous one, so there would only be one popup at a time?
Comment; I found that I could combined multiple popup data.js files (the above webpage) together and now I understand how I don't have to deal with the "skin" popup window.
A: > Another question on the "onePerSession" parameter. Is there some other
> condition to it? I set it on the popup but the popup keeps coming back up.
> Could it be related only to window that initially loads?
It will appear only once per session. But if you open and close yourbrowser your window will appear again.You can send us a direct link to your website, so we can check it.
> Another question. I have a page with numerous popup windows. Could there
> be some strategy to having the opening a subsequent popup opening closing a
> previous one, so there would only be one window onload popup at a time?
You can use the same window and change its content usingdeluxePopupWindow.open() function.