IE 8 中的 Twitter 问题

发布于 2024-10-04 21:55:13 字数 1074 浏览 0 评论 0原文

我的 Twitter 按钮和 IE 8 遇到了这个问题(这对 IE 7 来说是个问题,我不再关心 IE 6 了)。

简而言之,问题是当我实现推文按钮时,a 中的其余文本不会显示。它在 Firefox 和 Safari 中工作正常,只是 IE 的问题。当前的问题可以在最后一个示例优惠券(优惠券 3)上看到。

http://www.ichibancoupons。 com/?page=examples

为 Twitter 按钮生成的代码是:

<div class="right-coupon-twitter">
<iframe title="Twitter For Websites: Tweet Button" style="width: 110px; height: 20px;" src="http://platform0.twitter.com/widgets/tweet_button.html?_=1291080504828&amp;count=horizontal&amp;lang=en&amp;text=Sample%20Coupon%203%20Sample%20coupon%203%20provided%20by%20Ichiban%20Coupon%20%20Management.&amp;url=http%3A%2F%2Fwww.ichibancoupons.com" allowtransparency="true" tabindex="0" class="twitter-share-button twitter-count-horizontal" frameborder="0" scrolling="no"></iframe>
        <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
 </div><!-- coupon-twitter -->

有谁知道导致此问题的原因和解决方案吗?

I am having this problem with the twitter button and IE 8(which problems IE 7 and I don't care for IE 6 anymore).

In short the problem is when I implement the tweet button, the rest of the text in a does not show up. It works fine in Firefox and Safari and is just an IE problem. The current problem can be seen here on the last sample coupon, coupon 3.

http://www.ichibancoupons.com/?page=examples

The code generated for the Twitter button is:

<div class="right-coupon-twitter">
<iframe title="Twitter For Websites: Tweet Button" style="width: 110px; height: 20px;" src="http://platform0.twitter.com/widgets/tweet_button.html?_=1291080504828&count=horizontal&lang=en&text=Sample%20Coupon%203%20Sample%20coupon%203%20provided%20by%20Ichiban%20Coupon%20%20Management.&url=http%3A%2F%2Fwww.ichibancoupons.com" allowtransparency="true" tabindex="0" class="twitter-share-button twitter-count-horizontal" frameborder="0" scrolling="no"></iframe>
        <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
 </div><!-- coupon-twitter -->

Does anyone have any ideas of what is causing this problem and a solution?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

黒涩兲箜 2024-10-11 21:55:13

这很可能是由于 Iframe 不允许 IE8 中的跨域内容,可以在这里找到(有点过时的)解决方案:在 IFrame 中显示跨域内容(IE8)

This is most likely due to the fact that Iframes do not allow for cross domain content in IE8, a (somewhat dated) solution can be found here: Display cross domain content in IFrame (IE8)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文