Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: CSS and variable multiple menu
bernard56
Junior Member

Posts: 2
Registered: 9/28/2004
Member Is Offline
posted on 9/28/2004 at 08:31 AM Reply With Quote
CSS and variable multiple menu


Hello,

I have a site with two mode of browsing. So in one case i have only one menu and on the other mode, i have two.

When i have two menus on my page (admin mode) all is ok. The menus use two different css the first one use a pattern like .m01.... and the second one .m11.....
in the page the menus are declared like this

new menu (MENU_ITEMS0, MENU_POS0);
/........... /
new menu (MENU_ITEMS1, MENU_POS1);

The menu0 is the admin menu and the menu1 is the user menu.


When i switch in the other mode (user mode) of browsing with only one menu on my page (menu1) the css is not use by the menu.

I understand that the js script is clever enought to detect how many menu are on the page so the script search the css with a pattern .m01 and in my case the css are declared .m11.

My question is : Is it possible to force a menu to use a specific css pattern ?
Or if not is there anu workaround to do this

Thank you by advance and 'bravo' for your great product.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 9/28/2004 at 05:36 PM Reply With Quote

In your case just change the order menus are initialized in:

new menu (MENU_ITEMS1, MENU_POS1);
/........... /
new menu (MENU_ITEMS0, MENU_POS0);

and rename css classes accordingly .m0->.m1 .m1->.m0
View User's Profile View All Posts By User U2U Member
bernard56
Junior Member

Posts: 2
Registered: 9/28/2004
Member Is Offline
posted on 9/29/2004 at 08:05 AM Reply With Quote
Thank you


Thank you, it was so simple... excuse me
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Alignment & Multimenus
Unlimited Depth
Item sizing and positioning
Inner HTML
Frames, Targeting
Static Positioning
Free Download Menu Builders
Online Builder
Product Documentation Documentation
Documenation Page
Tigra Menu PRO FAQ
Change Log
Menus Comparison Table
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004