Mascara

Mascara (30)
pt type="text/javascript"> var arr = []; $('ul#storeval li').each(function() { arr.push(this.innerHTML); }); function display(id, str) { $("#" + id).html(str); } var num = 0; function update() { display("banner", arr[num]); num++; if (num == arr.length) { num = 0; } } function start() { setInterval("update()", 3000); } start();