Recent Questions Java Bind Tree View MysqlQ: I've begun experimenting with the dhtml rollover menu program and like what I see.
Question, when I have a tree menu on the left and the user clicks a node, I want the resulting HTML page to appear next to the dhtml rollover menu, on the right hand side. How do I reposition the HTML page so it doesn't take up the whole page and cover the menu?
A: You can use frames and open link pages into the content frame, or use Iframe.
Please, set the name for your iframe, for example:
<iframe name ='myFrame' ...
<frame name ='myFrame' ...
And then you must set the following dhtml rollover menu parameter in the data file withyour menu:
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: How can I add a separator to the vertical menu using the dynamic functions?
It seems as though the only way to get a separator into the menu is by defining itbefore hand, but the website I'm building will require me to reload themenus dinamically, and I'm losing the ability to put separators on it.
A: You should add items using the following function:
function dm_ext_addItem (menuInd, submenuInd, iParams)
function dm_ext_addItemPos (menuInd, submenuInd, iParams, Pos)
Find more info:
Set the following parameter:
So, you should write:
dm_ext_addItem(0, 4, ["|-", "", "", "", "", "", "", ])
Q: Is it possible to use an external file with these applets? Have tried
but it does not work!
Any suggestions? I have one site with many pages, it would be handy not to have to change 20 pages just to modify one link.
A: You can use "menuItemsFile" param, example
<param name="menuItemsFile" value="menu1.txt">
The menu menu items are in menu1.txt, so you'll need to changeonly this menu1.txt if it necessary to add/remove/change items.
See also example: