");
function???showPopupText(){
var???o=event.srcElement;
MouseX=event.x;
MouseY=event.y;
if(o.alt!=null???&&???o.alt!="")???{???o.pop=o.alt;o.alt=""???}
if(o.title!=null???&&???o.title!=""){???o.pop=o.title;o.title=""???}
if(o.pop)???{???o.pop=o.pop.replace("/n","
");???o.pop=o.pop.replace("/n","
");???}
if(o.pop!=sPop)???{
sPop=o.pop;
clearTimeout(curShow);
clearTimeout(tFadeOut);
clearTimeout(tFadeIn);
clearTimeout(tFadeWaiting);?
if(sPop==null???||???sPop=="")???{
popLayer.innerHTML="";
popLayer.style.filter="Alpha()";
popLayer.filters.Alpha.opacity=0;?
}???else???{
if(o.dyclass!=null)???popStyle=o.dyclass???
else???popStyle="cPopText";
curShow=setTimeout("showIt()",tPopWait);
}
}
}
function???showIt()???{
popLayer.className=popStyle;
popLayer.innerHTML='
??'+sPop+'??
';
popWidth=popLayer.clientWidth;
popHeight=popLayer.clientHeight;
if(MouseX+12+popWidth>document.body.clientWidth)???popLeftAdjust=-popWidth-24
else???popLeftAdjust=0;
if(MouseY+12+popHeight>document.body.clientHeight)???popTopAdjust=-popHeight-24
else???popTopAdjust=0;
popLayer.style.left=MouseX+12+document.body.scrollLeft+popLeftAdjust;
popLayer.style.top=MouseY+12+document.body.scrollTop+popTopAdjust;
popLayer.style.filter="Alpha(Opacity=0)";
fadeOut();
}
function???fadeOut(){
if(popLayer.filters.Alpha.opacity
tFadeOut=setTimeout("fadeOut()",1);
}
}
document.onmouseover=showPopupText;
?
通過錯新技術頻道小編介紹的內容,相信大家都有了一定的了解,想要了解更多的技術內容,請繼續關注錯新技術頻道吧!
?
新聞熱點
疑難解答