Recent Questions Jquery Simple Tree Menu
Q: Please identify the parameter I need to set to produce ... Tree menu items start out as normal text , then Bold text for tree menu items on the onmouseover event . After mouse out, text returns to normal.
A: Unfortunately, Javascript/DHTML Tree doesn't have such a feature. 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 tmenuItems = [
["<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>","", "", "", "", "", "", "", "", ],
];
Please, notice also that you should add this function every time whenyou change your menu in Deluxe Tuner application, as Tuner deletesthis function.
You can find the example here
http://deluxe-tree.com/data-templates/vista-style-7-template-sample.html
Q: But where on javascript drop down menu creator I can set the dmsearch=2 ? I can't find it, there isn't an option or submenu for the search box on the left side of deluxe tuner.
A: Use last version of javascript drop down menu creator v3.2.
You can find
var dmSearch=2;
parameter in the "Advanced" section of parameter's list.
Then you should select an item (where you want to add search box), forexample first item and add
search:value='search...' style='border:1px;width:60px;height:14;font-size:10px;'
code into the "Link" field directly ("Item Parameters" window).
Q: What I would like to achieve is a separator in the main menu list of a vertical menu.
I can get the separator to show in submenus but not the main menu.
A: You should write so:
var separatorImage="menu.files/sep_blue.gif";
var separatorWidth="90%";
var separatorHeight="3";
var separatorAlignment="center";
var separatorVImage="menu.files/sep_blue.gif";
var separatorVWidth="90%";
var separatorVHeight="3";
var separatorPadding="0px";
Q: I got it to work ... but I can't make the javascript menu bars locate where I want it on the page.
A: Check that you use relative position for the menu
var absolutePos=0;
var posX="0px";
var posY="0px";
You can install the menu in DIV or Table, for example:
<div align=center>
<script type="text/javascript" src="deluxe-menu/data.js"></script>
</div>
You can send us a copy of your html page (including .js files) ora direct link to your website, so we can check it.