Recent Questions Jquery Simple Tree Menu
Q: Would it be possible at some point to introduce more font decoration options to the mouseover variables, I would like to add bold as a mouseover font decoration, but obviously this is not possible at the moment.
A: Unfortunately, JavaScript Tree Menu doesn't have such a feature. You can onlyset it's color. You cannot set the font of menu item bold when selected.
You should addthe following code in your data file:
function changeFont(obj, over)
{
obj.style.fontWeight = over ? 'bold' : 'normal';
obj.style.fontSize = over ? '13px' : '12px'; // You can not use this line
}
var menuItems = [
["<div onMouseOver='changeFont(this, 1)' onMouseOut='changeFont(this, 0)'>Security</div>","", "", "", "", "", "", "", "", ],
["<div onMouseOver='changeFont(this, 1)' onMouseOut='changeFont(this, 0)'>Ease of Access</div>","", "", "", "", "", "", "", "", ],
["|<div onMouseOver='changeFont(this, 1)' onMouseOut='changeFont(this, 0)'>Internet Options</div>","", "", "", "", "", "", "", "", ],
["|<div onMouseOver='changeFont(this, 1)' onMouseOut='changeFont(this, 0)'>Windows Firewall</div>","", "", "", "", "", "", "", "", ],
["<div onMouseOver='changeFont(this, 1)' onMouseOut='changeFont(this, 0)'>Network and Internet</div>","", "", "", "", "", "", "", "", ],
["<div onMouseOver='changeFont(this, 1)' onMouseOut='changeFont(this, 0)'>Hardware</div>","", "", "", "", "", "", "", "", ],
Q: I'm looking at evaluating your Deluxe menu software for inclusion in our current web based software solution and am particularly taken with the 'Ajax style' loading.
Could you please answer a couple of questions with respect to that.
At what point does it load those file ¦ initially when menu is drawn (so multiple small hits to app server) or when the user selects the menu? Does the link href *have* to be a .js file ¦ or can it be any valid file type that returns the correct data? I have to generate the menu options dynamically from a DB and therefore really need to include a JSP style file.
Our current menu system (made up of 4 levels deep contains over 300 links, which is why I want to minimise server hit as much as possible!
A: It loads when the user move his mouse above the menu items.
You can use any extension for these files. But the file structureshould be the same as in our example.
Q: I will probably purchase your developer version mostly because I want access to the 600 icons....
1) Do you offer access to these icons with any other license for css drop down menu?
2) I develop sites for several clients, what is involved for them to make small changes to their menus... i.e. add or delete a menu item or sub-item... Will they need to purchase a license to make changes?
3) Does the developer version access your site at runtime? I do not have a problem registering my client sites and getting a key... I just want to make sure at runtime their site does not contact yours.
A: 1) Icon collection is available in Developer licenses only.
2) No, there is no need to purchase the license in that case.
3) No, script doesn't access our site at runtime.
Developer version of the script doesn't check reg. keys at all.
With the Developer license you can use the menu on an unlimited number of Internet or Intranet sites and on the local machines.
This version of the css drop down menu doesn't check keys and it isn't bound to a domain name,so it can be used with an application that doesn't have a fixed domain name.
Q: I have an interest in purchasing your product but wanted to ask a question to see if it would satisfy my needs. The menu samples you have are all horizontal, can your menu go vertical?
A: To create vertical menu you should set the following parameter:
var isHorizontal=0;
Please, try the trial version at first.