Team:ATOMS-Turkiye/deneme
From 2013.igem.org
Line 46: | Line 46: | ||
b= a.find(".rui-billboard-current"); | b= a.find(".rui-billboard-current"); | ||
b.removeClass("rui-billboard-current"); | b.removeClass("rui-billboard-current"); | ||
+ | b.animate({ | ||
+ | left: -b.outerWidth() | ||
+ | }); | ||
b=b.next("li"); | b=b.next("li"); | ||
if(b.length<1) | if(b.length<1) | ||
b=a.find("li").first(); | b=a.find("li").first(); | ||
b.addClass("rui-billboard-current"); | b.addClass("rui-billboard-current"); | ||
+ | b.css("left",b.outerWidth()); | ||
+ | b.animate({ | ||
+ | left: 0 | ||
+ | }); | ||
}); | }); | ||
} | } |
Revision as of 10:22, 2 October 2013