把你start函数里的this.stop()改成that.stop().一些变量用var, 一些函数可以直接定义为function xxx(){}. 免得你的this太多自己都混乱了

解决方案 »

  1.   


    确实弄乱了..
    但是ie下这个display的问题呢?
      

  2.   

    设置定位,而不是display
    this.change = function(){
     
                that.main.style.position = "relative";  //  这个地方报错
                that.box.style.position="absolute";   //   这里报一样的错误
                that.slide(that.box, that.h, 15);
            };