jcenter centers elements to screen

This widget encapsulates the JCenter-jQuery plugin. The plugin centers elements to screen. Responds to resize event.

Requirements

  1. Version 1.0
  2. Version 1.1

Yii 1.1.6 or above...

Usage

  1. Version 1.0
  2. Version 1.1
  • install and explore the code of the demo application
  • or put in a view code blocks like the following...
<?php $this->widget('ext.jcenter.JCenter', array(
    "Id"=>"login-screen",
    "horizontal"=>true,
    "vertical"=>true,
    "resize"=>true,
)); ?>

Change log

  1. Version 1.0
  2. Version 1.1

Version 1.0

  • initial release

Version 1.1

  • code optimation
  • added minified javascript

Resources

  1. Version 1.0
  2. Version 1.1
3 0
6 followers
1 162 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: volkmar
Created on: Mar 19, 2011
Last updated: 6 years ago

Downloads

show all

Related Extensions