$(document).ready(function(){ $(".marquee").marquee({ direction: "left", duration: 20000, delayBeforeStart: 0, }); });