accordion-menu Simple two level vertical accordion menu.

  1. Requirements
  2. Usage
  3. Resources
  • Menu is displayed vertically
  • Toplevel items is a link
  • Accordion has indicators to show the state of the menu

Extension have a small size (near 18kb) but depends on jQuery.

Requirements

Yii 1.1.x or above

Usage

Crete menu items array

$items = array(
	array(
		'name' => 'Google corp',
		'link' => 'http://google.com',
		'icon' => 'google',
		'active' => 'dashboard',
		'sub' => array(
			array(
				'name' => 'Gmail',
				'link' => 'http://gmail.com',
			),
			array(
				'name' => 'Gmap',
				'link' => 'http://maps.google.com/',
			)
    	)
    )
);

Use menu widget:

$this->widget('ext.menu.EMenu', array('items' => $items));

Resources

3 0
20 followers
1 878 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: Nikolay I. Belichuk
Created on: Dec 9, 2012
Last updated: 11 years ago

Downloads

show all

Related Extensions