新人求解?????
一直跟著老師做,可做到這里,加上下面代碼圖片沒滾動了,一點效果沒有,為什么?
var index = 1;
function showButton()
{
buttons[index - 1] .className = 'on';
}
index += 1;
showButton();
index -= 1;
showButton();
一直跟著老師做,可做到這里,加上下面代碼圖片沒滾動了,一點效果沒有,為什么?
var index = 1;
function showButton()
{
buttons[index - 1] .className = 'on';
}
index += 1;
showButton();
index -= 1;
showButton();
2015-12-04
舉報
2015-12-05
以懂。