简体   繁体   English

Google Plus按钮未显示在IE8中

[英]Google Plus Button Not showing up in IE8

I know google plus button doesn't work on IE7 but it also not working on IE8 , I can't see any error 我知道谷歌加按钮不能在IE7上工作,但它也无法在IE8上工作,我看不到任何错误

here's the sample i am using 这是我正在使用的样本

<html>
<head>
  <title>Hello</title>
</head>

<body>

<div style="width: 50%;margin: auto;">

<!-- Place this tag where you want the +1 button to render -->
<g:plusone annotation="inline"></g:plusone>

<!-- Place this render call where appropriate -->
<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>
</div>

</body>

</html>

I don't know if you've found a solution yet. 我不知道你是否找到了解决方案。 Here is my solution anyway, hopefully it will work for you too Does Google Plus Button API Support Internet Explorer 8 无论如何,这是我的解决方案,希望它也适用于你吗?Google Plus Button API支持Internet Explorer 8

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM