passionfish
Newbie
Posts: 1
Registered: 7/26/2005
Location: austin, texas
Member Is Offline
|
| posted on 7/26/2005 at 07:14 PM |
|
|
Second Menu does not take to the css
I have two menus on my page, and they are positioned correctly and all that, except the bottom_menu does not take the styles that are defined in the
css. I think it is a problem of naming each style correctly, but i have no idea what they should be named in order for bottom_menu to pick it up. I
have search this whole site for answers and even view the source code on the demos to try to figure it out...but it just wont work.
here is are my linked codes:
<!-- styles for demo menu #1-->
<link rel="stylesheet" href="css/menu1.css">
<!-- styles for demo menu #2-->
<link rel="stylesheet" href="bottom_menu2.css">
<!-- menu script itself. you should not modify this file -->
<script language="JavaScript" src="js/menu.js"></script>
<script language="JavaScript" src="js/menu_items1.js"></script>
<script language="JavaScript" src="bottom_items2.js"></script>
<script language="JavaScript" src="js/menu_tpl1.js"></script>
<script language="JavaScript" src="bottom_tpl2.js"></script>
<script language="JavaScript">
<!--//
new menu (MENU_ITEMS1, MENU_POS1, MENU_STYLES1);
new menu (BOTTOM_ITEMS2, BOTTOM_POS2, BOTTOM_STYLES2);
//-->
</script>
and here is the style sheet configuration (i have it the same in both, as i want the menus to look the same, but it only works on menu one for some
reason:
.m0l0o {
text-decoration: none;
margin: 0px;
border: 0px solid #ffffff;
}
.m0l1o {
text-decoration: none;
margin: 2px;
border: 1px solid #ffffff;
}
.m0l0i {
padding-left: 5px;
text-decoration: none;
font-family: Arial, Verdana, Helvetica, sans-serif;
font-color: #FFFFFF;
font-size: 11px;
font-weight: normal;
text-align: center;
}
.m0l1i {
padding: 0px;
text-decoration: none;
font-family: Arial, Verdana, Helvetica, sans-serif;
font-size: 11px;
font-weight: normal;
margin: 5px;
text-align: left;
}
|
|
|
tigra
Administrator
Posts: 1920
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 5/27/2008 at 08:42 AM |
|
|
the styles for the second menu should start with .m1 not .m0
this applies to Tigra Menu v1.x
|
|
|
|