These two arrays control the default styles of the navbar and navbar links.
Styles which apply to the main navbar.
//styles which apply to the navbar
um.navbar = [
'-6', // nav to menu x-offset (+-)["n" pixels]
'-11', // nav to menu y-offset (+-)["n" pixels]
'7.5em', // width ["em"|"ex"|"px"]
];
PHP
//styles which apply to the navbar
$um['navbar'] = array(
'-6', // nav to menu x-offset (+-)["n" pixels]
'-11', // nav to menu y-offset (+-)["n" pixels]
'7.5em', // width ["em"|"ex"|"px"]
);
Styles which apply to each navbar item.
//styles which apply to each navbar item
um.items = [
'1', // margin between items ["n" pixels]
'1', // border size ["n" pixels]
'collapse', // border collapse ["collapse"|"separate"]
'#ead4a4 #edbb85 #edbb85 #ead4a4', // border colors ["color"|"#hex"|"rgb()"]
'solid', // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"]
'#ead4a4 #ffe #fae4b4 #fae4b4', // hover/focus border colors ["color"|"#hex"|"rgb()"]
'solid', // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"]
'#ead4a4 #edbb85 #edbb85 #ead4a4', // visited border colors ["color"|"#hex"|"rgb()"]
'solid dashed solid solid', // visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"]
'9', // left/right padding ["n" pixels]
'5', // top/bottom padding ["n" pixels]
'orange-yellow-gradient.jpg', // background ["color"|"#hex"|"rgb()"|"image.gif"]
'orange-cream-gradient.jpg', // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
'orange-yellow-gradient.jpg', // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
'75%', // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
'tahoma,sans-serif', // font family ["font1,font2,font3"]
'bold', // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
'none', // text decoration ["none"|"underline"|"overline"|"line-through"]
'left', // text-align ["left"|"right"|"center"]
'#008000', // color ["color"|"#hex"|"rgb()"]
'#b05010', // hover/focus color ["color"|"#hex"|"rgb()"]
'#008000', // visited color ["color"|"#hex"|"rgb()"]
'normal', // font-style ["normal"|"italic"|"oblique"]
'normal', // hover/focus font-style ["normal"|"italic"|"oblique"]
'normal', // visited font-style ["normal"|"italic"|"oblique"]
'background-color:#ffc;letter-spacing:1px !important;', // additional link CSS
'background-color:#ffe;padding-left:10px;', // additional hover/focus CSS
'', // additional visited CSS
'right-green.gif', // menu indicator character/image ["text"|"image.gif"|"none"]
'right-red.gif', // menu indicator rollover image ["image.gif"|"none"]
'7', // clipping width of indicator image ["n" pixels]
'..', // alt text of indicator image ["text"]
];
PHP
//styles which apply to each navbar item
$um['items'] = array(
'1', // margin between items ["n" pixels]
'1', // border size ["n" pixels]
'collapse', // border collapse ["collapse"|"separate"]
'#ead4a4 #edbb85 #edbb85 #ead4a4', // border colors ["color"|"#hex"|"rgb()"]
'solid', // border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"]
'#ead4a4 #ffe #fae4b4 #fae4b4', // hover/focus border colors ["color"|"#hex"|"rgb()"]
'solid', // hover/focus border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"]
'#ead4a4 #edbb85 #edbb85 #ead4a4', // visited border colors ["color"|"#hex"|"rgb()"]
'solid dashed solid solid', // visited border styles ["solid"|"double"|"dotted"|"dashed"|"groove"|"ridge"|"inset"|"outset"]
'9', // left/right padding ["n" pixels]
'5', // top/bottom padding ["n" pixels]
'orange-yellow-gradient.jpg', // background ["color"|"#hex"|"rgb()"|"image.gif"]
'orange-cream-gradient.jpg', // hover/focus background ["color"|"#hex"|"rgb()"|"image.gif"]
'orange-yellow-gradient.jpg', // visited background ["color"|"#hex"|"rgb()"|"image.gif"]
'75%', // font size ["em"|"ex"|"%"|"px"|"pt"|"absolute-size"|"relative-size"]
'tahoma,sans-serif', // font family ["font1,font2,font3"]
'bold', // font weight ["normal"|"bold"|"bolder"|"lighter|"100" to "900"]
'none', // text decoration ["none"|"underline"|"overline"|"line-through"]
'left', // text-align ["left"|"right"|"center"]
'#008000', // color ["color"|"#hex"|"rgb()"]
'#b05010', // hover/focus color ["color"|"#hex"|"rgb()"]
'#008000', // visited color ["color"|"#hex"|"rgb()"]
'normal', // font-style ["normal"|"italic"|"oblique"]
'normal', // hover/focus font-style ["normal"|"italic"|"oblique"]
'normal', // visited font-style ["normal"|"italic"|"oblique"]
'background-color:#ffc;letter-spacing:1px !important;', // additional link CSS
'background-color:#ffe;padding-left:10px;', // additional hover/focus CSS
'', // additional visited CSS
'right-green.gif', // menu indicator character/image ["text"|"image.gif"|"none"]
'right-red.gif', // menu indicator rollover image ["image.gif"|"none"]
'7', // clipping width of indicator image ["n" pixels]
'..', // alt text of indicator image ["text"]
);
All comments subject to administrative approval. Comments may be deleted or modified by the site administrator.
UDM 4 is valid XHTML, and in our judgement, meets the criteria for WAI Triple-A conformance.