JS问题求助!

url = new Array("http://cartoon.jide123.cc/manhuatuku/18408/2014713162937253.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162937253.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162938378.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162938429.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162938437.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162938614.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162939622.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162939625.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162939627.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162940472.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162940633.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162940635.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162940638.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162941649.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162941890.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162951317.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162951322.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162951485.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162952169.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162952789.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162952792.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162952794.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162953180.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162953560.jpg", "http://cartoon.jide123.cc/manhuatuku/18408/2014713162953805.jpg");
zhangsu = 0;

function zuoji() {
    zhangsu = zhangsu - 1;
    url = document.getElementById("tu");
    url.src = '"' + url[zhangsu] + '"';// 他说没有定义,怎么做?
}
function zhongji() {
    url = document.getElementById("tu");
    url.src = "./img/look.jpg";
}
function youji() {
    zhangsu = zhangsu + 1;
    url = document.getElementById("tu");
    url.src = '"' + url[2] + '"'; // 他说没有定义,怎么做?
}
回复列表(0|隐藏机器人聊天)
帖子没有回复
添加新回复
回复需要登录