spieh
Junior Member
Posts: 3
Registered: 1/12/2005
Member Is Offline
|
| posted on 1/12/2005 at 10:12 AM |
|
|
where is the DIV tags actually placed?
In the menuitems.js if i say
var MENU_ITEMS = [
["Home", "index.php",
["Page2", "randompage.php"]
]
];
This will generate a menu with level 0 item0, and level 0 item 1 but it doesn't seem to be using any of my CSS styles.
so I have in my menu.css
.m0l0i {
font-size: 9px;
font-weight : bold;
font-family: Tahoma, Verdana, Arial;
padding: 4px;
text-align : center;
text-decoration: none;
}
for menu 0, level 0, inner tag
WHere do I place the <div class="m0l0i "> in order to get my level 0 item 0 Cell to actually adopt my CSS styles?
I tried placing it as around the CAPTION such as
var MENU_ITEMS=[
['<div class="m0l0i">HOME</div', "index.php"]];
This doesn't seem to work at all.
|
|
|
olga
Administrator
Posts: 84
Registered: 11/22/2004
Member Is Offline
|
| posted on 1/27/2005 at 07:16 PM |
|
|
where is the DIV tags actually placed?
In Tigra Menu v2.0 you assign classes in menu_tpl.js file. For example,
'css' : { 'outer' : 'menu0outo', 'menu0overo', 'menu0downo'] // item's outer tag:
[mouseout, mouseover, mousedown],
'inner' : 'menu0inner' // item's inner tag, the same class for all states }
And every style itself should be defined in your menu.css.
Please, take a look at http://www.softcomplex.com/products/tigra_menu/docs/#styles
|
|
|
|