SOURCE

//小绿
							//移动绿色,对now进行控制
							//往右滑 --   往左滑++
							if(disX>0){
								now--;
							}else if (disX<0){
								now++;
									
							}
							
							if(now<0){
								now = 0;
							}else if(now>aNoads.length) {
								now = aNoads.length-1;
									
							}
									/* if(now<0){
										now = aNodes.length-1;
									}else if(now>aNodes.length-1){
										now = 0;
									} */
							damu.css(smallG, "translateX" ,aNoads[now].offsetLeft);
							if(aNoads[now].offsetWidth != smallG.offsetWidth){
								smallG.style.width = aNoads[now].offsetWidth+"px";
							}
console 命令行工具 X clear

                    
>
console