开发者

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;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜