jp
Newbie
Posts: 1
Registered: 6/28/2005
Member Is Offline
|
| posted on 6/28/2005 at 07:43 PM |
|
|
Inconsistent CSS classes used in menu_tpl.js of demo "traditional blue"
Hi, thanks for your great work!
I have a question regarding the demo "traditional blue" of the Tigra Menus 2.0. The file "menu_tpl.js" contains (among other stuff) definitions
for the CSS classes of the menu. The definitions for level 2 define classes "m0l2oout" and "m0l2oover" for the outer (<a>) tag and
"m0l1iout" and "m0l2iover" for the inner tag. I am wondering if it is intentional that level 2 refers to a CSS class that - at least by its name -
belongs to level 1. If I change "m0l1iout" to "m0l2iout" in the example the menus start looking weird (since the CSS class is not defined in the
CSS). I would recommend (to avoid confusion) to define the class in the demo CSS and to reference the class "m0l2iout" in the menu_tpl.js file.
----------
Excerpt from the bottom of menu_tpl.js in example "traditional blue" of Tigra Menus 2.0:
...
{
'block_top': 5,
'block_left': 140,
'css': {
'outer': ['m0l2oout', 'm0l2oover'],
'inner': ['m0l1iout', 'm0l2iover']
}
}
...
|
|
|
|