function InRectangle(x,y,rectx,recty,rwidth,rheight){ return (x>=rectx&&x<=rectx+rwidth)&&(y>=recty&&y<=recty+rheight) } c.onmouseover=function(e){ if(InRectangle(e.clientX,e.clientY,left,top,width,height)){ stop(); }
www.dbjr.com.cn/html5/690...html 2025-6-8