摘要:
function Carousel(id,num,prev,next,li_width){ var oBox=document.getElementById(id); this.aLi=oBox.getElementsByTagName('li'); this.n=num; this.Width=li_width; this.prev=document.getElementById(prev); this.next=document.getElementById(next); for(var i=0;i<this.aLi.length;i++){ ... 阅读全文