Recent Questions Dhtml Treeview With CheckboxQ:
Is it possible to have the actual words clickable in order to open up a sublevel menu instead of having to click on the + symbol? A: Yes, you can do it.
You should set this parameter:
var texpandItemClick = 1;
How do I change the font style for menus to bold, but leave the sub-menus normal in the html navigation bar?
I understandthere’s a “fontStyle” variable, but is there an “itemfontStyle”? A: You can use Individual Item styles to set specific parameters for eachitem or submenu.
var fontStyle=["normal 9pt Verdana","normal 9pt Verdana"]; //for subitems
//style for the top items:
var itemStyles = [
["itemHeight=21px","itemBackColor=#F2F3F2,#1665CB","fontStyle='bold 9pt Verdana','bold 9pt Verdana'"],
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.
// 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:
I saw the examples you have and I'd love to be able to do that on my website, but I don't understand the scripting that you have written there.
Like, what makes it float from this text... A: If you want a floatable menu, you should set an absolute position forthe menu and paste the following code into your html page:
Paste the following code into <head> tag
Then set coordinates of top-left menu corner in the data .js file, forexample:
Then set var floatable=1.
The parameter floatable=1 makes a floatable menu.
Also you can change any of menu parameters inside data .js file.