Recent Questions Javascript Tree Styles
Q: I'm trying to disable a javascript mouse over menu item using the MS Office style 2 template and having no luck. Can you please provide me a sample of the MS Office style 2 template that will disable an item on the menu by graying it out?
A: To disable menu item you should set "_" target for it.
If you want that your disabled items have a grey color (in css-basedmenu) you should create additional style for it and assign this stylefor the disabled items:
["CSSText=toptext_dis,toptext_dis"],
.toptext_dis
{
font: normal 11px Tahoma, Arial;
color: #AAAAAA;
padding: 3px;
}
["|What's New","", "images/icon_office_note.gif", "images/icon_office_note2.gif", ,"_","1", , , ],
["||Popup Mode (Contextual Menus)","", "images/icon_office_mark.gif", "images/icon_office_mark.gif", ,"_","1", , , ],
You can find more info about menu items here:
http://deluxe-menu.com/menu-items-info.html
Q: I played with it and I got the tabs java script horizontal menu to work. but having problems with them:
1. I want the tabs to open when you mouse over them, not when you click. Is it possible to do this?
2. I want the tabs to close when your mouse leave them. Can I do this?
3. It keeps saying "Incorrect key" when you click on them. Is it possible to fix them?
A: No, unfortunately it is not possible in Deluxe Tabs.
But you can use JavaScript Tree Menu to create such java script horizontal menu.
To create such menu you should set the following parameters:
var smOrientation=1; //horizontal orientation of submenus
var subMenuAlign="pleft"; //submenu position (left align)
var smHidePause=-1; //your submenus won't be hidden till you click orscroll the page.
"Incorrect Key" message means that you didn't paste your reg. key into data.js filewith your menu.
You should paste your key parameter into .js file where your java script horizontal menuparameters (vars) and items ( var bmenuItems) are placed.You should paste the following code at the beginning of the file:
/*
JavaScript Tree Menu Data File
Created by Deluxe Tuner v3.2
http://deluxe-menu.com
*/
var key="XXXXXX";
// -- Deluxe Tuner Style Names
Where XXXXX the key from your license message.
Try to clear also browser cache.
Notice your key will work on registered domain only. It won't work onlocal machine.
Q: I have noticed on your menus that have multiple nodes, you areallowing only the icon to be clicked and expand the tree. How would I alter the code so that when a user clicks anywhere on the tree with multiple nodes, the entire tree expands instead of the user having to be so precise in selecting the tiny icon to expand the tree.
A: You should set the following parameter to expand item on a mouseclick:
var texpandItemClick=1;
Q: Also, I was wondering about adding some css (style="cursor:pointer") so when someone is over the javascript pop menu it will turn into a hand and the user will know it is clickable.
A: Set the following javascript pop menu parameter:
var itemCursor="pointer";