老師 ,請(qǐng)問間歇性文字滾動(dòng)如何加入鼠標(biāo)事件?
area.onmouseover=function(){
clearInterval(time)};
area.onmouseout=function(){
setInterval("scrollUp()",speed)}
我這樣設(shè)置鼠標(biāo)移入后整個(gè)滾動(dòng)條開始暴走掉 求解答T T 我已近困惑兩天了
area.onmouseover=function(){
clearInterval(time)};
area.onmouseout=function(){
setInterval("scrollUp()",speed)}
我這樣設(shè)置鼠標(biāo)移入后整個(gè)滾動(dòng)條開始暴走掉 求解答T T 我已近困惑兩天了
2015-08-21
舉報(bào)
2015-09-12
我試了一下,這樣也是不行~
2015-09-12
關(guān)鍵是鼠標(biāo)移出的時(shí)候,你要執(zhí)行哪個(gè)函數(shù)。
2015-09-12
area.onmouseover=function(){
clearInterval(time)};
area.onmouseout=function(){
setInterval(startScroll)}