How can I stop this scroll
var f1; var f2; var i=1; var again_again = 1; function again() {
go(); } functi开发者_开发问答on go() { $('.floater').animate({ left: "-=200px"}, 4000, 'linear', again); }
var f1;
var f2;
var i=1;
var again_again = 1;
function again() {
//again_again = 1 - again_again;
//alert('sai'+ i);
i++; go();
}
function init() {
f1 = $('#f1');
f2 = $('#f2');
go();
}
function go() {
$('.floater').animate({ left: "-=200px"}, 4000, 'linear', again);
}
use code sample for better view
精彩评论