A: The following parameter expands all menu items by default:
var texpanded=1;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.
<!-- (c) 2006, http://deluxe-tree.com -->
// and describe parameters of a menu
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:
This example is not for Deluxe Tabs menu, but you can create your menu in the same way.
Q: We purchased your software and would like a way to give our users the ability to right click (or equivalent) and open a link in to a new window.
Is there a way to do this? If not, do you have a work around that people have found helpful.
As an example, I have a menu item that goes to http://www.google.com. Typically, it loads this in to one of our frames. However, I would like the end user to have the ability to either load it in to one of our existing frames or to load it in its own window.
A: You can try to write the following code for your items:
["<a href='index.html' target='_blank' class='home'>Home</a>","", "", "", "", "Return to Index page", "", "0", "", ],
And create styles
Q: Is there a way to change the height of the main buttons in Dhtml Menu. When I use the GUI tool there is nowhere to change the main button height. And when I tried to change it in the script file, it did me no good. I want all of the main buttons to be the same size.
A: You can use standard <img> object to set menu height, for example:
var menuItems = [
[" <img src='blank.gif' width=1 height=50>text"],