Recent Questions Treenode Cssclass Control Adapter
Q: Hello.How do I remove the 5 dashed lines that appear above the first treeof the Deluxe-Tree. These lines also appear in your XP StyleSamples but they don't appear in your Deluxe-tree homepage.
http://deluxe-tree.com/data-samples/tree-menuxp2.html
A: These lines appears when you use
var tmoveable = 1; //movable menu
Try to set
var tmoveable = 0;
Q: I am a registered user, and I really like your menu system.
With my old menu system the user could right click on a menu item and the browser would display an option to open the page in a "New Tab".
Is there any way in the javascript menu html to allow the user to choose to open a link in a new tab?.
My users are restricted to using IE.
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
.home{
color: #FFFFFF;}
.home:hover{
color: #FFBEBE;}
Try that.
Q: Is there a way to add an email address or pdf document as a as a menu en javascript item item?
A: You can open any files using JavaScript Tree Menu including PDF files.
Yes, you can insert any html code within menuItems, for example:
["|You can place <b>any HTML code</b><br> to item, for example <u>image</u>:<br><img src=img/logo.gif>","testlink.html"],
["|Index <select style='width:120px;height:17px;font:normal 10px Tahoma,Arial;'><option>Section 1<option>Section 2<option>Section 3</select>", "", "", "", "", "", "", ""],
["|Search <input type=text style='width:80px;height:17px;font:normal 10px Tahoma,Arial;'> <input type=button value='Go' style='width:30px;height:17px;font:normal 10px Tahoma,Arial;'>", "", "", "", "", "", "", "0"],
["|Write Us", "mailto:[email protected]", ""],
Q: I have just downloaded your trial version and am trying to use de-lux tuner using the windows xpstyle1 template. I can only seem to get the top java menu button showing as grey but can change colors of submenus OK. Am I missing something or is this a restriction of the trial system i.e. how do I get the top java menu button showing the same as submenu buttons.
A: Trial version has full functionality of the licensed version.
To change submenu colors you should change the following parameters:
var menuBackColor="#F2F3F2";
var itemBackColor=["#F2F3F2","#535353"];
and Individual Submenu Style:
var menuStyles = [
["menuBackColor=#F2F3F2","menuBorderWidth=0","itemSpacing=0","itemPadding=4px","smOrientation=undefined"],
];
For the top items you should change Individual Item style:
var itemStyles = [
["itemHeight=21px","itemBackColor=#F2F3F2,#535353"],
];