emenu css dropdown menu

  1. Requirements
  2. Usage
  3. Resources

it's a simple wrapper for css drop down menu framework from lwis.net

Requirements

tested on Yii 1.1.8, may work on other versions

Usage

This extension class extends CMenu, and usage is just like CMenu. no need to code sample, right? :)

Consider this options when using EMenu:

  • $vertical: to make menu vertical

  • $rtl: to make vertical menu right to left

  • $upward: to make menu dropdown upward (dropup ?!!!)

  • $themeCssFile: to use a custom theme file

  • $theme: to use a provided theme

provided themes are : adobe, flikr, lwis, mtv, nvidia, vimeo and default.

Special note about IE 7 and before

IE 7 and before need a piece of provided javascript named jquery.dropdown.js to work. I dont know how to use client script to generate conditional parameters to include this js. for more information see here. if you have any suggestion, let me know via comment. for know, you can manually add this code to your layout head section:

<!--[if lte IE 7]>

<script type="text/javascript" src="js/jquery/jquery.js"></script>

<script type="text/javascript" src="path/to/published/jquery.dropdown.js"></script>

<![endif]-->


Resources

24 0
34 followers
5 604 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: arash
Created on: Sep 9, 2011
Last updated: 12 years ago

Downloads

show all

Related Extensions