【发布时间】:2011-12-16 03:28:01
【问题描述】:
我想知道在鼠标悬停在绘图项上时更改鼠标光标的最佳方法是什么,以及在远离绘图项时将光标更改回默认值的最佳方法
plot.bind("plothover", function(event, pos, item) {
if(item) {
document.body.style.cursor = 'pointer';
} else {
document.body.style.cursor = 'pointer';
}
}
一开始可以用,但是平移后就不行了……
【问题讨论】:
标签: hover flot mouse-cursor