【发布时间】:2009-11-10 22:58:17
【问题描述】:
我有一个已初始化的 Dojo 工具提示,当将鼠标悬停在所需节点上时,它可以完美地找到。问题是,一旦工具提示第一次出现,当我不再将鼠标悬停在“工具提示”区域上时,工具提示就会出现在页面的左上角。当我离开工具提示的“悬停”区域时如何隐藏工具提示。
这是我的初始化代码:
new dijit.Tooltip({
connectId: [this.myCloseContainerId],
label: this.substitute(this.tooltipTemplate, {
tooltipText: this.closeTooltipText
}),
position: ["below"],
showDelay: 50
});
所有“变量”都已设置和定义。
【问题讨论】:
标签: javascript tooltip dojo