当用户悬停 Google“+1”按钮时,我想更改光标样式。我尝试使用div
标签并添加style
属性,但它不起作用。
<div class="g-plusone" data-size="tall" style="cursor:wait" ></div>
<script type="text/javascript">
(function() {
var po = document.createElement('script');
po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(po, s);
})();
</script>
我想我们需要在他们的 js 代码中添加一些东西。