0
我想滑動背景圖像與動畫。因爲我想如果我的第一個背景圖像。第二個將繼續啓動簡單的滑塊jquery的背景圖像
這裏是我的代碼
$('.next').live('click',function() {
$('.ac_bgimage').animate({
left:"-80em"
},1500, function(){
test();
});
});
function test() {
$('.ac_bgimage').attr('src','images/2.jpg');
$('.ac_bgimage').css('left','0em');
}
的第一個圖像工作正常,但它顯示黑屏。在這個空白屏幕,我想第二個即將到來的畫面提前