0
У меня этот код.Как я могу добавить стиль в свою функцию подсказки?
tooltip: function() {
$(".form-item-label.info")
.append("<p title='' class='icon-info-sign info'></p>")
.tooltip({
tooltipClass: "tool",
show: null,
position: {
my: "right bottom",
at: "right top",
using: function(position, feedback) {
$(this).css({top: position.top+80, left: position.left-30});
$("<div>")
.addClass("tooltip-arrow")
.appendTo(this);
}
},
content: function() {
var msg = "<p>Some text</p>";
return msg;
}
});
});
Как я могу добавить стиль в свою функцию подсказки? не из стилей, а из значения ключа, такого как tooltipClass: «tool», show: null, position ... content ... STYLE:?