cssmenu A CSS only menu which behaves like CMenu or MbMenu compatible with iOS

  1. Requirements
  2. Usage
  3. Repository
  4. Demo

A simple CSS menu generator which behaves like CMenu or MbMenu. No javascript is required and all the styles can be overridden.

  • Simple to use
  • CSS only
  • Requires minimal change in current menu code (assuming you are using CMenu or MbMenu)
  • Works on Chrome, Safari, Firefox, and IE (tested only newest versions as of Dec 1st 2011)
  • Works on iPad and iPhone (tested with iOS 4+)

Requirements

Yii 1.1

Usage

Copy the folder 'cssmenu' to the 'extenstions' folder in your Yii Installation

<? $this->widget('ext.cssmenu.CssMenu',array(
    'items'=>array(
        array('label'=>'Home', 'url'=>array('site/index')),
        array('label'=>'Products', 'url'=>array('product/index'), 'items'=>array(
            array('label'=>'New Arrivals', 'url'=>array('product/new')),
            array('label'=>'Most Popular', 'url'=>array('product/index')),
        )),
       array('label'=>'Login', 'url'=>array('site/login'), 'visible'=>Yii::app()->user->isGuest),
    ),
)); ?>

Repository

If you have any requests or you have made some improvements, I would love for you to let me know. I have created a repository on Github.

https://github.com/mrkmg/yii-ext-cssmenu

Demo

http://kevingravier.com/yii/

7 0
7 followers
2 110 downloads
Yii Version: 1.1
License: (not set)
Category: User Interface
Developed by: mrkmg
Created on: Nov 29, 2011
Last updated: 12 years ago

Downloads

show all

Related Extensions