juiclockpick A jQuery timepicker plugin

  1. Usage
  2. Resources

This widget display a simple time picker using this jQuery plugin:

http://www.jnathanson.com/index.cfm?page=jquery/clockpick/ClockPick

Usage

In your _form.php, replace the text field with this:

<?php $this->widget('ext.widgets.clockpick.EClockpick', array(
	     'model'			=> $model,
	     'attribute'		=>'end',
	     'options'			=>array(
			 'starthour' 	=> 8,
			 'endhour' 		=> 20,
			 'showminutes' 	=> TRUE,
			'minutedivisions'	=> 12,
			'military'		=> TRUE,
	     ),
	     'htmlOptions'		=> array('size'=>5,'maxlength'=>5)
	)); ?>

Resources

2 1
3 followers
907 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: dinhtrung
Created on: Jun 6, 2011
Last updated: 7 years ago

Downloads

show all

Related Extensions