Recent Questions Web Menus Floating Tree
Q: Is it possible to generate Kaspersky java tab menu from dynamic content?
i.e I have a web application which currently generates a certain number of tabs for content based on a users selection.
Can the Kapersky tabs be generated from dynamic content, or does it need to be hard coded for the number of tabs and placement?
A: Unfortunately, Deluxe Tabs doesn't have such a feature.
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>
<!-- (c) 2006, http://deluxe-tree.com -->
<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.)
];
</script>
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 Deluxe Tabs menu, but you can create your menu in the same way.
Q: I have a Javascript/DHTML Tree Menu working on a website. What I want is that the javascript dhtml tree remembers which item was open when there is a click on an item.
I found on your website that this is possible with: var tsaveState = 1;
But when I want to use this option I need to include dtree_ss.js in the html page. I can not find this file in the zip file I downloaded.
Can you help me with this file or tell me where I can find it?
A: See dtree_ss.js file was in the first versions of Javascript/DHTML Tree. We don't have such filenow. We haven't updated info on your website on the following page yet
http://deluxe-tree.com/parameters-info.html
You should use dtree.js file only.Q: I have used for your software for Menu creation(Trial version). We integrated it in our appliaction running good on IE 6. It has some whitespaces also. Menu using dhtml is not displayed in IE 7 when integrated in our application. When we call your html directly in IE 7 then it displays.
In Mozilla ,menu is displayed but without transitional Effects.
I am interest buy your software. If we are assured that above issues will be fixed in licensed version.
A: > Menu using dhtml is not displayed in IE 7 when integrated in our application.Try to set exact width for the menu, for example: var menuWidth="300px";
> In Mozilla, menu using dhtml is displayed but without transitional Effects.Filters and transitional effects are features of Internet Explorer5.5+ only.
See more info here:
http://www.deluxe-menu.com/filters-and-effects-sample.html
Q: Do you have an extremely simple example of modifying a dynamic drop down menus with the JavaScript API? I've played with the example on the site, but I have trouble removing the other menus without breaking it.
I just want to use the API to change the icon on the menu items.
A: You should use the following function:
function dm_ext_changeItem (menuInd, submenuInd, itemInd, iParams)
<script language="javascript" >
dm_ext_changeItem(0, 0, 1, ["", "", "new_icon.gif", "new_icon_o.gif", "",,""]);
</script>
http://deluxe-menu.com/dynamic-functions-sample.html