将setTimeout与setInterval单独封装到一个函数中,例如:、
function delayJumpUrl(href){ setTimeout(function(){ jlocation.href=href; },2500); }
setInterval也与这种方法类似