IE 8 中的 Twitter 问题
我的 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&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 -->
有谁知道导致此问题的原因和解决方案吗?
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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这很可能是由于 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)