Difference between #1 and #2 of
Yii 1.1: How To add id or class to CMenu items ?

Revision #2 has been created by Louis Gac on Jul 7, 2014, 10:22:37 AM with the memo:

spelling's correction
« previous (#1)

Changes

Title unchanged

Yii 1.1: How To add id or class to CMenu items ?

Category unchanged

How-tos

Yii version unchanged

Tags unchanged

CMenu, menu, items, customize, class, CSS

Content changed

CMenu comes with a lot of great customization options built in. One of the most used is the class 'active' being added to menu item. But, what if you want to add your own class or id to a menu item ? It's very easy, you just need to use the 'itemOptions'.

If you want a menu like :
[...]
1 0
1 follower
Viewed: 25 992 times
Version: 1.1
Category: How-tos
Written by: Louis Gac
Last updated by: Louis Gac
Created on: Jul 7, 2014
Last updated: 9 years ago
Update Article

Revisions

View all history