1 ,提示框 :
- 代码 :
$("#tip").tooltip({
// 内容
content:"<strong>废话,爱到不要不要</strong>",
// 位置
position:"bottom",
// 是否鼠标跟随
trackMouse:true,
})
- 效果 : 鼠标落上,看到提示
2 ,左右微调,上下微调 : deltaX
$("#tip").tooltip({
// 内容
content:"<strong>废话,爱到不要不要</strong>",
// 位置
position:"bottom",
// 是否鼠标跟随
trackMouse:true,
// 位置微调 :
deltaX:10,
deltaY:10,
})