隐藏 SharePoint 2013 日历事件工具提示时出现问题

Issue when hiding the SharePoint 2013 calendar event tooltip

我正在尝试 hide/remove 事件工具提示(当我们将鼠标悬停在日历视图中的任何事件上时它会显示)。 为此,我在下面使用 css class.

    .ms-acal-default-hover 
{
    display:none;
}

它隐藏了工具提示,但当我们将鼠标悬停在事件上时它会产生闪烁。

作为解决方法,您可以使用 jquery 删除 class ms-acal-item 的标题。下面的代码将帮助您实现这一目标:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script>
$(function () {
     setInterval(function(){
        $('.ms-acal-item').attr('title','')
        },500);
});
</script>