0

我想在 JQUERY PLOT 插件中更改鼠标悬停在图形数据上的光标样式。

4

2 回答 2

0

我不知道你想要什么,但我认为这会对你有所帮助。

plot.bind("plothover", function(event, pos, item) {
    if(item) {
        document.body.style.cursor = 'pointer';
    } else {
        document.body.style.cursor = 'default';
    }
}
于 2013-07-19T06:58:37.487 回答
0

你可以用 css 做 i:

.plotclass:hover {
    cursor: url('pathtocursor');
}
于 2013-07-19T06:56:06.680 回答