Team:ATOMS-Turkiye/deneme
From 2013.igem.org
Line 43: | Line 43: | ||
b.css("left",0); | b.css("left",0); | ||
b.animate({ | b.animate({ | ||
- | left: | + | left: a.outerWidth(true) |
},function(){$(this).removeClass("rui-billboard-current");}); | },function(){$(this).removeClass("rui-billboard-current");}); | ||
b=b.prev("li"); | b=b.prev("li"); | ||
Line 49: | Line 49: | ||
b=a.find("li").last(); | b=a.find("li").last(); | ||
b.addClass("rui-billboard-current"); | b.addClass("rui-billboard-current"); | ||
- | b.css("left",- | + | b.css("left",-a.outerWidth(true)); |
b.animate({ | b.animate({ | ||
left: 0 | left: 0 | ||
Line 61: | Line 61: | ||
b.css("left",0); | b.css("left",0); | ||
b.animate({ | b.animate({ | ||
- | left: - | + | left: -a.outerWidth(true) |
},function(){$(this).removeClass("rui-billboard-current");}); | },function(){$(this).removeClass("rui-billboard-current");}); | ||
//b.removeClass("rui-billboard-current"); | //b.removeClass("rui-billboard-current"); | ||
Line 69: | Line 69: | ||
b.stop(); | b.stop(); | ||
b.addClass("rui-billboard-current"); | b.addClass("rui-billboard-current"); | ||
- | b.css("left", | + | b.css("left",a.outerWidth(true)); |
b.animate({ | b.animate({ | ||
left: 0 | left: 0 |
Revision as of 18:18, 2 October 2013