關(guān)于鼠標懸停顯示特效的解決辦法(2)_動易Cms教程
'<tr><td " attr " style="background-color: #083582;padding-left:14px;padding-right:14px;padding-top: 6px;padding-bottom:6px;line-height:135%"><font color=white>' Msg '</font></td></tr>'
'<tr id=pltsPopbot style="display:none"><th valign=bottom><font color=#ffffff><b><p id=botleft align=left>↙' pltsTitle '</p><p id=botright align=right style="display:none">' pltsTitle '↘</font></b></font></th></tr>'
'</table></td></tr></table>';
pltsTipLayer.innerHTML=content;
toolTipTalbe.style.moveToMouseLoc();
return true;
}
else
{
pltsTipLayer.innerHTML='';
pltsTipLayer.style.display='none';
return true;
}
}
function moveToMouseLoc()
{
if(pltsTipLayer.innerHTML=='')return true;
var MouseX=event.x;
var MouseY=event.y;
//window.status=event.y;
var popHeight=pltsTipLayer.clientHeight;
var popWidth=pltsTipLayer.clientWidth;
if(MouseY pltsoffsetY popHeight>document.body.clientHeight)
{
popTopAdjust=-popHeight-pltsoffsetY*1.5;
pltsPoptop.style.display="none";
pltsPopbot.style.display="";
}
else
{
popTopAdjust=0;
pltsPoptop.style.display="";
pltsPopbot.style.display="none";
}
if(MouseX pltsoffsetX popWidth>document.body.clientWidth)
{
popLeftAdjust=-popWidth-pltsoffsetX*2;
topleft.style.display="none";
botleft.style.display="none";
topright.style.display="";
botright.style.display="";
}
else
{
popLeftAdjust=0;
topleft.style.display="";
botleft.style.display="";
topright.style.display="none";
botright.style.display="none";
}
pltsTipLayer.style.left=MouseX pltsoffsetX document.body.scrollLeft popLeftAdjust;
pltsTipLayer.style.top=MouseY pltsoffsetY document.body.scrollTop popTopAdjust;
return true;
}
pltsinits();
- MAC錯誤的解決方法
- 如何屏蔽動易后臺導(dǎo)航里的某個功能菜單?
- 動易.NET版本留言自動選定欄目方法
- 動易SiteFactoty整合Discuz!NT3.0
- 在任意位置獲取根節(jié)點ID標簽
- 如何開啟SiteWeaver6.8的支持,反對功能
- Windows 2008安裝動易.NET系統(tǒng)之四----動易系統(tǒng)安裝篇
- Windows 2008安裝動易.NET系統(tǒng)之三----數(shù)據(jù)庫篇
- Windows 2008安裝動易.NET系統(tǒng)之二----IIS、目錄環(huán)境配置篇
- 數(shù)據(jù)庫修復(fù),SQL Server 2005內(nèi)部操作不一致的處理
- 如何安裝動易.net程序權(quán)限配置
- 為什么提示對Windows系統(tǒng)文件夾下的Temp目錄沒有訪問權(quán)限?
- 相關(guān)鏈接:
- 教程說明:
動易Cms教程-關(guān)于鼠標懸停顯示特效的解決辦法(2)
。