(c) 2016, Deluxe-Menu.com
Search  
Ctrl+F2 - enter/switch menu | Arrow keys - navigate | Esc - exit menu  
  Support
  FAQ
  Contacts
  About Us
  Recent Questions


 

    Which parameter I have to set to produce java text menu to be bold on mouseover?

Return to Recent Questions


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, 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

Mobile-friendly Page Maker Fresh CSS Bootstrap Carousel Video Players and Nav Menu Demos  |  Responsive Website Maker  |  30 Killer Free Bootstrap Image Carousel and Gallery Scripts  |  15 Recommended Website Makers Arranged by Level Of Popularity  |  36 Top Eye-catching and Free AMP Elements Templates for 2021  | 
Copyright (c) 2019, Deluxe-Menu.com
Home  |  Product Info  |  Samples  |  Download  |  Purchase  |  FAQ  |  Site Map  |  Terms of Use  |  Write Us
All rights reserved. AI Website Builder | AI Website Maker | Free AI Website Generator | AI web design generator | AI website design generator