==============================
同目录xml文件!!!
<?xml version="1.0" encoding="utf-8"?>
<AdSwitch>
<aditem>
<src>images/1.jpg</src>
<alt>this is a test 1</alt>
<href>http://www.bj-lover.com</href>
<intro>this is the 1</intro>
</aditem> <aditem>
<src>images/2.jpg</src>
<alt>this is a test 2</alt>
<href>http://www.bj-lover.com</href>
<intro>this is the 1</intro>
</aditem> <aditem>
<src>images/3.jpg</src>
<alt>this is a test 3</alt>
<href>http://www.bj-lover.com</href>
<intro>this is the 1</intro>
</aditem> <aditem>
<src>images/4.jpg</src>
<alt>this is a test 4</alt>
<href>http://www.bj-lover.com</href>
<intro>this is the 1</intro>
</aditem>


<aditem>
<src>images/5.jpg</src>
<alt>this is a test 5</alt>
<href>http://www.bj-lover.com</href>
<intro>this is the 1</intro>
</aditem>
</AdSwitch>

解决方案 »

  1.   

    window.clearInterval(AdSwitch.theTimer_);AdSwitch.thetimer_ = window.setInterval("AdSwitch.autochange()", AdSwitch.timeinterval_);
    这就是问题所在?拼错大小写?如果就是这个原因,楼主应该面壁了~~~我只花了2分钟就找到错误了~~~
      

  2.   

    我靠!!!!果然是这个问题,谢楼上的,好的,我再继续往下作!!!用惯了c++,javascript真得不太适应:(