JavaScript.CoolDev.Com Support Forums

Any questions related to JavaScript menu and JavaScript tree menu by Javascript.CoolDev.Com

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bold text in the menu

 
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu
Author Message
mikegod



Joined: 24 Jun 2003
Posts: 2

PostPosted: Tue Jun 24, 2003 10:43 pm    Post subject: Bold text in the menu Reply with quote

hello i am wondering if anyone could tell me how to make my items menu bold.

here is my menu scripts. Thank you in advanced

BLANK_IMAGE="img/b.gif";
//keywords
var code="code";var url="url";var sub="sub";
//styles
var color = {"border":"#000099", "bgON":"ffcc00","bgOVER":"#ff660d"};
var color1 = {"border":"#000099", "bgON":"009933","bgOVER":"#ff660d"};
var css = {"ON":"clsCMOn", "OVER":"clsCMOver"};
var STYLE = {"border":1, "shadow":0, "color":color, "css":css};
var STYLE1 = {"border":1, "shadow":0, "color":color1, "css":css};
//items and formats
var MENU_ITEMS_SIZING =
[
{"pos":[0,0], "itemoff":[0,96], "leveloff":[24,0], "delay":50, "style":STYLE, "size":[24,97]},
{code:"Home", url:"mainFrame.htm", "target":"mainFrame"},
{code:"NB Map", url:"nbmap.htm", "target":"mainFrame"},
{code:"Contacts",
sub:[
{"size":[25,140],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE1},
{code:"Aliant Contacts", url:"aliantcontact.htm", "target":"mainFrame"},
{code:"Account Managers", url:"account.htm", "target":"mainFrame"},
{code:"BSR ...",
sub:[
{"size":[25,80],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE},
{code:"ICC", url:"icc.htm", "target":"mainFrame"},
{code:"Dedicated", url:"dedicated.htm", "target":"mainFrame"},
{code:"Data", url:"data.htm", "target":"mainFrame"},
{code:"Federal", url:"goc.htm", "target":"mainFrame"},
{code:"Majors", url:"404.htm", "target":"mainFrame"},
{code:"PNB", url:"pnb.htm", "target":"mainFrame"}
]
},
{code:"Competitors", url:"competitor.htm", "target":"mainFrame"},
{code:"Dealers", url:"http://gateway/aliant_telecom/mdlist.nsf/main?openAgent", "target":"new"},
{code:"Duty Manager", url:"http://dutymanager/Current%20DM.asp", "target":"new"},
{code:"Outside Plant ...",
sub:[
{"size":[25,80],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE},
{code:"Dispatch", url:"dispatch.htm", "target":"mainFrame"},
{code:"Engineering", url:"engineering.htm", "target":"mainFrame"},
{code:"Facilities", url:"facilities.htm", "target":"mainFrame"}
]
},
{code:"SMC", url:"smc.htm", "target":"mainFrame"}
]
},
{code:"Links", url:" ", "target":" ",
sub:[
{"size":[25,125],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE1},
{code:"Tools ...",
sub:[
{"size":[25,140],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE},
{code:"Access Care", url:"http://accesscare", "target":"new"},
{code:"Canada Post", url:"http://www.canadapost.com/tools/pcl/bin/default-e.asp", "target":"new"},
{code:"Cell Search", url:"http://cellsearch:search@142.68.31.44", "target":"new"},
{code:"Cognos", url:"http://ims-web1/cognos/cgi-bin/upfcgi.exe?xmlcmd=&GetPage&&Template&upfront_inframe.utml&/Template&&id&1d4105aee92211d6ab379217fc416750&/id&&/GetPage&", "target":"new"},
{code:"Fax to E-mail", url:"http://acs.aliant.icn:90/FTEM/", "target":"new"},
{code:"MOC Form Search", url:"http://gateway/Aliant_Telecom/SetExpress.nsf/search?openform", "target":"new"},
{code:"NBNet Administration", url:"http://admin.nbtel.nb.ca:90/nbnet/", "target":"new"},
{code:"Passwerks", url:"http://wizzy.nbtel.nb.ca/", "target":"new"},
{code:"Sams", url:"http://asapas2.nbtel.nb.ca:8830/sams-cgi/sams_draw_primary_input", "target":"new"}
]
},
{code:"Cheat Sheets ...",
sub:[
{"size":[25,125],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE},
{code:"ICM CFBL #'s", url:"S:\Workgroups\Business\NBNet Helpdesk\ICM\ICMCFBNumbers.htm", "target":"new"},
{code:"Centrex Express", url:"centrex.htm", "target":"mainFrame"},
{code:"FCL Listings", url:"http://bsgnet/Product_Catalog/Misc/directory/HdgBook%20July%202001.pdf", "target":"new"},
{code:"Directory Delivery", url:"http://gateway/Aliant_Telecom/WebSR.nsf/Directories/816ADA081B6713D3A3256B97005BEAF9/$file/Directory+Schedule+2003+Gateway.xls?openelement", "target":"new"},
{code:"Last Forward DN", url:"lfdn.htm", "target":"mainFrame"},
{code:"Fax to E-mail", url:"faxtoemail.htm", "target":"new"}
]
},
{code:"DMS Options ...",
sub:[
{"size":[25,100],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE},
{code:"DMS Book 1", url:"H:/Godin_MichelJean/Public/DMS%20BOOK/book1.pdf", "target":"mainFrame"},
{code:"DMS Book 2", url:"H:/Godin_MichelJean/Public/DMS%20BOOK/book2.pdf", "target":"mainFrame"}
]
}
]
},
{code:"Forms",
sub:[
{"size":[25,220],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE1},
{code:"10 Steps - Auto Attendant", url:"cgi-bin/autostep.htm", "target":"mainFrame"},
{code:"10 Steps - Listen Only", url:"cgi-bin/listenstep.htm", "target":"mainFrame"},
{code:"Auto-Attendant", url:"cgi-bin/autoattend.htm", "target":"mainFrame"},
{code:"Change of Responsability ...",
sub:[
{"size":[25,75],"itemoff":[24,0],"leveloff":[-12,180],"style":STYLE},
{code:"English", url:"cgi-bin/change.htm", "target":"mainFrame"},
{code:"French", url:"cgi-bin/changefr.htm", "target":"mainFrame"}
]
},
{code:"Change of Responsability - Q&A ...",
sub:[
{"size":[25,75],"itemoff":[24,0],"leveloff":[-12,180],"style":STYLE},
{code:"English", url:"changeform.htm", "target":"mainFrame"},
{code:"French", url:"changeformfr.htm", "target":"mainFrame"}
]
},
{code:"Fax Cover Sheet ...",
sub:[
{"size":[25,75],"itemoff":[24,0],"leveloff":[-12,180],"style":STYLE},
{code:"English", url:"fax1.htm", "target":"mainFrame"},
{code:"French", url:"fax1fr.htm", "target":"mainFrame"}
]
},
{code:"Fax Overflow", url:"overflow.htm", "target":"mainFrame"},
{code:"Intercept", url:"intercept", "target":"mainFrame"},
{code:"Listen Only Tips", url:"listen.htm", "target":"mainFrame"},
{code:"P269", url:"p269.htm", "target":"mainFrame"},
{code:"Unsolicited Fax", url:"faxbusy.htm", "target":"mainFrame"},
{code:"Winback ...",
sub:[
{"size":[25,75],"itemoff":[24,0],"leveloff":[-12,180],"style":STYLE},
{code:"English", url:"win.htm", "target":"mainFrame"},
{code:"French", url:"winfr.htm", "target":"mainFrame"}
]
},
]
},
{code:"Miscellanous Sites", format:{"size":[24,120]},
sub:[
{"size":[25,180],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE1},
{code:"Aastra", url:"http://www.aastra.com/Products/phones/index.html", "target":"new"},
{code:"My Data", url:"https://hrms.aliant.ca/index.html", "target":"new"},
{code:"Canada 411", url:"http://www.canada411.ca/", "target":"new"},
{code:"Corporate Search - NB", url:"", "target":"new"},
{code:"Charities Search - GOC", url:"", "target":"new"},
{code:"AdvanTel", url:"/", "target":"new"},
{code:"BSGNet", url:"", "target":"new"},
{code:"Gateway", url:"", "target":"new"},
{code:"Interim Directory Listings", url:"?cc=11", "target":"new"}
]
},
{code:"Search", format:{"itemoff":[0,119]},
sub:[
{"size":[25,80],"itemoff":[24,0],"leveloff":[12,60],"style":STYLE1},
{code:"Moncton", url:"moncton_smc.htm", "target":"mainFrame"},
{code:"Saint John", url:"saintjohn_smc.htm", "target":"mainFrame"},
{code:"Fredericton", url:"fredericton_smc.htm", "target":"mainFrame"},
{code:"Dalhousie", url:"dalhousie_smc.htm", "target":"mainFrame"},
{code:"Miramichi", url:"miramichi_smc.htm", "target":"mainFrame"},
{code:"Other", url:"smc.htm", "target":"mainFrame"},
]
},
{code:"Calendar", url:"cgi-bin/calendar.pl", "target":"mainFrame"},
{code:"Contact Us", url:"mailto:Map", "target":"mainFrame"},
{code:"NB_BSR_Map ?", format:{"size":[24,110]},
sub:[
{"size":[25,80],"itemoff":[24,0],"leveloff":[12,30],"style":STYLE1},
{code:"About Us", url:"", "target":"mainFrame"},
{code:"Hosted By", url:"hosted.htm", "target":"mainFrame"}
]
},
];
Back to top
gibsoncrash
Guest





PostPosted: Wed Jun 25, 2003 6:44 pm    Post subject: Reply with quote

what you want to do is open your style.css file and find the style that you are using for your menu.

add the following line to the style:
font-weight: bold;

and you are done.

For example:

.clsCMLevel1On {
color: black;
font-size: 14px;
font-family: "Arial";
text-decoration : none;
padding: 2px 4px;
font-weight: normal;
text-align: center;
}

.clsCMLevel1Over {
color: black;
font-family: "Arial";
font-size: 14px;
text-decoration : none;
text-weight: bold;
padding: 2px 4px;
font-weight: bold;
text-align: center;
}
Back to top
mikegod



Joined: 24 Jun 2003
Posts: 2

PostPosted: Wed Jun 25, 2003 9:44 pm    Post subject: Thank you Reply with quote

Thank you very much
Back to top
Display posts from previous:   
Post new topic   Reply to topic    JavaScript.CoolDev.Com Forum Index -> COOLjsMenu All times are GMT
Page 1 of 1