Skip to main content

Vibrate Page Elements Using jRumble

By Sam Deering

JavaScript

Share:

Free JavaScript Book!

Write powerful, clean and maintainable JavaScript.

RRP $11.95

jrumble

Hi guys, I’ve stumbled across a pretty cool jQuery plugin which you can use to make your page elements really stand out from the crowd! It takes any page element and makes it vibrate. Could be used to animate a mobile phone vibration? Maybe more useful for a washing machine website?!? ;-)

Demo
Download

Features

  • rumbleSpeed – Set the speed/frequency in milliseconds of the rumble (lower number = faster)
  • rumbleEvent – Set the event that triggers the rumble (‘hover’, ‘click’, ‘mousedown’, ‘constant’)
  • rangeRot/rumbleRange – Set the rotation range (degrees) and rumble range (pixels)
  • CSS compatability

Usage

$(document).ready(function(){
	$('#my-rumble-div').jrumble();
});

Sam Deering has 15+ years of programming and website development experience. He was a website consultant at Console, ABC News, Flight Centre, Sapient Nitro, and the QLD Government and runs a tech blog with over 1 million views per month. Currently, Sam is the Founder of Crypto News, Australia.

New books out now!

Learn valuable skills with a practical introduction to Python programming!


Give yourself more options and write higher quality CSS with CSS Optimization Basics.