bre*_*ezy 1 html javascript css jquery
有人可以帮助我如何延迟这个功能吗?
$('#customer_quote').lightbox_me({
centered: true,
closeSelect: ".close",
onClose: function(){
$('div.error').remove()
}
})
});
Run Code Online (Sandbox Code Playgroud)
我希望这个灯箱在7秒后打开.
用途setTimeout():
setTimeout(lightbox, 7000);
function lightbox() {
$('#customer_quote').lightbox_me({
centered: true,
closeSelect: ".close",
onClose: function(){
$('div.error').remove()
}
})
});
}
Run Code Online (Sandbox Code Playgroud)