Effect.wobble and Effect.illuminate: iPhone effects in the browser
Date : 2008 01 21 Category : Tech & DevelopmentRakuto Furutani has taken inspiration from the iPhone (who hasn't at this point?) and implemented Effect.wobble and Effect.illuminate to mimic the effects on the iPhone:
PLAIN TEXT JAVASCRIPT:// Effect.wobble $('img.wobble').each(function(img) { img.observe('mouseover', function(event) { event.target.wobble({duration: 2, degree: 1.5}) }); }); // Effect.illuminate $('illuminated_msg').illuminate({color: '#fff'});
You thought those effects were annoying on your iPhone ;)
