1$(function(){ 2 $this = $('#slider'); 3 li = $this.find('li'); 4 left = $('a.arr-left'); 5 right = $('a.arr-right'); 6 width = -parseInt($this.width()); 7 html = $this.html(); 8 $this.html(html+html+html); 9 $this.css('margin-left', width); 10 left.click(sldLf); 11 right.click(sldRt); 12 int = setInterval(sldRt, 3000); 13}) 14 15function sldRt() { 16 if($this.is(':animated')) return false; 17 $this.animate({ 18 'margin-left' : parseInt($this.css('margin-left'))-126 19 }, 600, begin); 20 return false; 21} 22function sldLf() { 23 if($this.is(':animated')) return false; 24 $this.animate({ 25 'margin-left' : parseInt($this.css('margin-left'))+126 26 }, 600, begin); 27 return false; 28} 29function begin() { 30 if (parseInt($this.css('margin-left')) >= 0 ||parseInt($this.css('margin-left')) <= -parseInt($this.width() + width)) { 31 $this.css('margin-left', width); 32 } 33}
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.