Instructions: Create as many individual menus as needed. Create a menu bar by adding this to bodyOnLoad():
function bodyOnLoad(){
barWidth=0
for(q=0;q!=menuList.length;q++){
barWidth+=menuObj(q).menuWidth
}
//Remove the slashes from infront of one of the "offsetVal" statements to position the menu bar.
//offsetVal=(lib.browserWidth-barWidth)/2 //align center value
//offsetVal=0 //align left value
//offsetVal=lib.browserWidth-barWidth // align right value
off=0;
for(q=0;q!=menuList.length;q++){
menuObj(q).move(offsetVal+off,0);
off+=menuObj(q).menuWidth
}
}