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: Unique CSS style for individual item
coppercup
Junior Member

Posts: 3
Registered: 1/28/2009
Location: Oklahoma
Member Is Offline
posted on 1/28/2009 at 11:31 PM Reply With Quote
Unique CSS style for individual item


I would like to apply a unique CSS style to an individual item in the root level of the menu (to represent the user's "location" in the site).

While I know how to affect geometry on an individual-item basis, I can't figure out a good way to apply a unique class to the <a> tag constructed by Tigra Menu Pro on a individual item.

Any help would be appreciated.

Thanks,
Fritz
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 1/29/2009 at 12:59 AM Reply With Quote

You can use DOM inspector to take note of the unique IDs assigned to menu item elements. Knowing the ID you can apply style to individual element.

Recommended Software: Firefox+Firebug
Recommended Reading: http://www.w3.org/TR/CSS2/selector.html
View User's Profile View All Posts By User U2U Member
coppercup
Junior Member

Posts: 3
Registered: 1/28/2009
Location: Oklahoma
Member Is Offline
posted on 1/29/2009 at 02:19 PM Reply With Quote

Thanks for the suggestion. We're building the menu dynamically. Do you know of a way to determine the ID dynamically using Javascript?

Thanks!
Fritz
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 1/29/2009 at 03:14 PM Reply With Quote

It depends on the order of the menu item in the structure. You'll clearly see the naming convention with the DOM inspector.
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