我在修改 qTip 的尖端大小 (x,y) 时遇到了一些麻烦。我试图以style: { tip: { x:2,y:2 } }
各种方式添加,但失败了。
如何将其添加到以下脚本中?
// Status Tooltips Style
$.fn.qtip.styles.statusTooltips = {
background: '#333333',
color: 'white',
textAlign: 'center',
border: {
width: 1,
radius: 5,
color: '#333333'
},
tip: 'leftMiddle',
name: 'dark'
}
// Status Tooltips Init
$('.status[title]').qtip({
style: 'statusTooltips',
position: {
corner: {
target: 'rightMiddle',
tooltip: 'leftBottom'
}
}
});