|
|
|
Which parameter I have to set to produce vertical drop down menus to be bold on mouseover?
Return to Recent Questions
Q:
Please identify the parameter I need to set to produce ... vertical drop down menus 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, Deluxe Tree doesn't have such a feature. You should add
the 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 when
you change your menu in Deluxe Tuner application, as Tuner deletes
this function.
You can find the example here
http://deluxe-tree.com/data-templates/vista-style-7-template-sample.html
Return to Recent Questions
Related:
- Apr 01, 2009 - How can I set different parameters for diferent items in my web navigation buttons?
- Apr 11, 2009 - I have the pull down menu code somewhat in location, none of the settings are correct...
- Apr 13, 2009 - What the options of CSS parameters in the dhtml menu editor?
- Apr 19, 2009 - Is there a way to set the default css menu submenu tab on a page load?
- May 01, 2009 - When I set the AjaxCount to 0, my drop down menu maker don't pop out anymore.
- May 12, 2009 - Is there a way to set a parameter such that when a dhtml floating menu Item is CLICKED...
- May 25, 2009 - How can I setup size and color of the font for individual button in the right click popup menu?
- May 30, 2009 - If the new page in the frame is a frameset itself, the collapse javascript won't show up.
- Jul 13, 2009 - How can I open css dhtml menu on mouseover?
- Aug 14, 2009 - How I can set the font and backcolors in menu example using the hexidecimal number?
- Aug 21, 2009 - Is there a way in the onmouseover expandable menus maker to change preview screen color?
|