0
我想在鼠標上改變JQUERY PLOT插件中圖形數據的光標風格。如何更改jQuery圖中的圖形數據上的光標?
我想在鼠標上改變JQUERY PLOT插件中圖形數據的光標風格。如何更改jQuery圖中的圖形數據上的光標?
你可以做我的CSS:
.plotclass:hover {
cursor: url('pathtocursor');
}
我不知道你想要什麼,但我認爲這會幫助你。
plot.bind("plothover", function(event, pos, item) {
if(item) {
document.body.style.cursor = 'pointer';
} else {
document.body.style.cursor = 'default';
}
}
向我們展示您的代碼,並說出您所嘗試過的 –