[英]Changing <object> height and width works in Chrome but not Firefox or IE. Why?
[英]Twitter Feed JS works with Firefox & Chrome but not in IE. Any ideas?
以下代码在 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>
它显示了我在 FF 和 C 中的 Twitter 馈送测试,但不是 IE8。
这有明显的原因吗?
非常感谢
问题已解决:) 请参阅此页面上的黄色“警报”:remysharp.com/2007/05/18/add-twitter-to-your-blog-step-by-step
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.