$(function() { $('.random-teaser').slides({ play: 8000, crossfade: true, effect: 'fade', fadeSpeed: 1000 }); $('input[placeholder], textarea[placeholder]').placeholder(); });