简体   繁体   English

Twitter Feed JS 适用于 Firefox 和 Chrome,但不适用于 IE。 有任何想法吗?

[英]Twitter Feed JS works with Firefox & Chrome but not in IE. Any ideas?

The following code works perfectly in both Firefox and Chrome:以下代码在 Firefox 和 Chrome 中都能完美运行:

<!DOCTYPE html> 
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US"> 
<head> 
<meta charset=UTF-8 />

<title>Twitter Test</title>

<script src="http://twitterjs.googlecode.com/files/twitterjs-2.0.0.min.js" type="text/javascript"></script>

<script type="text/javascript">
getTwitters('twitter', { 
  id: 'glasgow', 
  count: 1, 
  enableLinks: true, 
  ignoreReplies: true, 
  clearContents: true,
  timeout:100,
  template: '<div class="tweet"><p>%text%</p></div>'
});
</script>

</head> 

  <body>

     <div id="twitter"></div>   

  </body> 

</html> 

It shows my Twitter feed test in FF & C, but not IE8.它显示了我在 FF 和 C 中的 Twitter 馈送测试,但不是 IE8。

Is there an obvious reason for this?这有明显的原因吗?

Many thanks非常感谢

Issue resolved:) See the yellow "alert" on this page: remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step问题已解决:) 请参阅此页面上的黄色“警报”:remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step

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

相关问题 更改 <object> 高度和宽度适用于Chrome,但不适用于Firefox或IE。 为什么? - Changing <object> height and width works in Chrome but not Firefox or IE. Why? 脚本和表单可在Firefox中使用,但不能在Chrome / IE中使用。 帮助调试? - Script and form works in Firefox but not in Chrome/IE. Help debug? onClick函数在IE中不起作用。 有任何想法吗? - onClick function not working in IE. Any ideas? Js可在IE,Chrome和Firefox中使用 - Js works in IE, Chrome but not Firefox Jquery / Javascript和Css条件在firefox和IE上不起作用。 它适用于Chrome - Jquery/Javascript and Css condition doesn't work on firefox and IE. It works on Chrome JS在Firefox中无法使用,在IE和Chrome中可以使用 - JS not working in Firefox, works in IE and Chrome .js 文件适用于 chrome 和 firefox 但不适用于 IE - .js file works in chrome and firefox but not IE JS可以在IE,Safari,Chrome中运行,但不能在Firefox中运行? - JS works in IE, Safari, Chrome but not in Firefox? JS在Firefox中有效,但无法在chrome和IE中加载 - JS Works in Firefox but not loading in chrome and IE 使用$ .getJSON(),我无法在任何版本的IE中接收结果。 Firefox / Chrome正常运行 - Using $.getJSON() I can't receive results in any version of IE. Firefox/Chrome work ok
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM