1
我只是试图将Google+分享插件添加到应用程序,并且它在Firefox中正常工作,但在IE中出现以下错误 - “抛出异常,而不是陷入”Google+分享插件 - 在IE中获得“异常抛出并且未被捕获”,在Firefox中正常工作
以下是非常基本的代码,我在Firefox和IE浏览器运行,做工精细的Firefox,但死在IE9:
<html>
<head>
<!-- Place this tag in your head or just before your close body tag. -->
<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
{lang: 'en-GB', parsetags: 'onload'}
</script>
</head>
<body>
<!-- Place this tag where you want the share button to render. -->
<div class="g-plus" data-action="share" data-annotation="bubble" data-height="24"></div>
<!-- Place this render call where appropriate. -->
<script type="text/javascript">gapi.plus.go();</script>
</body>
</html>
在这方面的任何帮助非常感谢,或者如果你可以将我重定向到能够给我一些见解的人,我将非常感激。
非常感谢,
玛丽·奥康纳
Jenny,非常感谢你!那就是诀窍。有一个超级的一天! :-) – 2012-04-26 07:41:42