ZeroClipboard.js onhover cursor pointer issue
I am using ZeroClipboard.js
. The cursor pointer (hover effect) doesn't come to the copy link at the page load it shows only cursor arrow, only if you interact on page somewhere and go to link again then you see the pointer. Anybody seen this issue, has a solution for fixing it 开发者_如何学运维to show pointer on load itself.
With this css:
.zeroclipboard-is-hover { cursor:pointer; }
You didn't say what your setup is. Try with:
var clip = new ZeroClipboard($("#your-copy-button-id"));
clip.setHandCursor(true);
or use css:
#your-copy-button-id {
cursor: pointer;
}
精彩评论