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