This is a random list of jQuery code that roughly reflects real life.

Follow me on twitter @reallifejquery Follow reallifejquery on Twitter


Monday, May 24, 2010

Man vs. Nature

// Realistic
$('#volcano').show('explode');
$('.flights').delay(800).delay(800).delay(800).remove();

// Optimistic
$('.flights').replaceWith('trains, busses, boats');
$('.complaints').trigger('change');

No comments:

Post a Comment