Jquery UI工具提示奇怪的行为时,字是在不同的行
jquery ui tooltip wierd behaviour when word is in different line
我正在实现jquery ui工具提示。它工作得很好,然而,当我悬停的元素是在2个不同的行,它是去他们的中间....有什么方法可以自定义这种行为吗?
我知道一种可能性是使用track:true
,我不想使用这个…
这是我的文件,
"辣妹"是有奇怪行为的工具提示。
$(function () {
$(document).tooltip({
items: ".oolinks",
tooltipClass: "tooltip-position",
content: function () {
return "<div class='hi'>Hi There.</div>";
},
position: {
my: "bottom-20",
at: "top",
using: function (position, feedback) {
$(this).css(position);
$("<div>")
.addClass("arrow")
.addClass(feedback.vertical)
.addClass(feedback.horizontal)
.appendTo(this);
$('.ui-tooltip-content').click(function (e, ui) {
});
}
},
});});
为什么不像这样重新定位br标签呢:
<strong>The <br/><culink class="oolinks" lang="en" href="http://undefined/en/topic/Spice Girls" style="color:rgb(34, 34, 34)!important;font-size:15px!important;font-weight:bold!important;border-bottom-color:#4de3ce!important">Spice Girls</culink> </strong>about going on a joint<br/>international tour.
我认为你能做的最好的事情是为每个单词ie应用两个工具提示。,"辣妹"answers"Girls"。
<strong>The <culink class="oolinks" lang="en" href="http://undefined/en/topic/Spice Girls" style="color:rgb(34, 34, 34)!important;font-size:15px!important;font-weight:bold!important;border-bottom-color:#4de3ce!important">Spice </culink> <culink class="oolinks" lang="en" href="http://undefined/en/topic/Spice Girls" style="color:rgb(34, 34, 34)!important;font-size:15px!important;font-weight:bold!important;border-bottom-color:#4de3ce!important">Girls </culink> </strong>
小提琴来了
相关文章:
- 语义UI中格式化的工具提示
- jQuery UI工具提示:单击工具提示本身即可关闭
- jQuery UI 工具提示位置的奇怪行为
- d3.js svg元素上的角度UI工具提示
- jquery UI工具提示的自定义背景图像
- 剑道ui工具提示在网格中的定位问题
- jQuery UI 工具提示在源 DOM 元素移动时卡住打开
- $(..).工具提示不起作用,因为 jQuery 1.9.2 由于旧的 jQuery UI 1.8.16 库而不起作用?
- 使剑道 UI 下拉列表将“选择控件”的“标题”属性显示为剑道工具提示
- IE8,jQuery UI 工具提示在 Internet Explorer 8 中立即关闭
- “初始化前无法在工具提示上调用方法”错误,当我添加 jquery-ui 库时
- 无法将表单输入字段上的 JQuery UI 工具提示限制为仅在单击/焦点事件上显示
- UI 引导程序 - 如何防止在下拉列表打开时打开工具提示
- 更新 jQuery UI 工具提示上的数字
- 如何使用 i18next 本地化属性(对于 jQuery UI 工具提示,在我的情况下使用标题)
- 在我的自定义指令中动态添加 bootstrap.ui 工具提示
- 在 jquery UI 工具提示中显示加载效果
- 如何为新加载的元素提供JQuery UI工具提示
- JQuery UI工具提示:每个工具提示有不同的图像
- jQuery工具提示UI -触发工具提示后x秒