Yii 1.1: jrumble

funny jquery plugin that can rumble( vibrates, shakes ) any html elements
7 followers

a wrapper for the funny jquery plugin jrumble

Rumble is a jQuery plugin that rumbles, vibrates, shakes, and rotates any element you choose. It's great to use as a hover effect or a way to direct attention to an element.

Requirements

may works for Yii 1.1 or above

Usage

download and extract it to your extensions dir

and then use it as other standard widgets , you can rumble any html elements just give a css selector , that's all .

just try it in you view or layout file

if you don't give a selector , i assume that you want initialize the original plugin manually . and i just register the necessary js file for you .

for more advanced usage please see the doc http://jackrugile.com/jrumble/

...can use code blocks like the following...

<?php
/**
 * User: yiqing
 * Date: 12-2-1
 * Time: 下午5:18
 */
$this->widget('ext.jrumble.JRumble', array(
  'selector'=>'#test',
    'options'=>array(
     'speed'=>50,
    )
));
?>
 
<div class="well" id="test">
 
 hi  here you go !
</div>

Resources

...external resources for this extension...

Be the first person to leave a comment

Please to leave your comment.

Create extension