Why is my JavaScript Twitter feed not working in Internet Explorer? -


We are running a new design of helpcurenow.org, and we have implemented a Twitter feed in the footer. (I'm design and front end boy, my co-worker scripting and backend boy).

All Internet Explorer is well with the Twitter feed in all major browsers except version 8 and later.

Although we have no indication that IE is not pulling the feed at all. Any signal ??

(see footer)

found this! The problem is with li.innerHTML = assignment. Basically, you are feeding a Twitter script somewhere, which is

  "li class =" ft-tweet "> gt; & lt; p & gt; Text% & lt; / p & gt; & lt; a href = "http://twitter.com/%user_screen_name%/statuses/%id%" class = "FT-tweet timestamp" & gt;% time%  

But unfortunately, Twitter already has a & lt; Li & gt; and only wants to get its internal HTML what happens now that you & lt; Li & gt; on Twitter-built & lt; Li & gt; Enter , which most browsers accept, but IE8 does not. This will not just accept the wrong HTML, which is a very great theory for Microsoft. See.

So the solution is taking away from your template. But then you will not have the ftr-tweet class ... then it will be & lt; Span & gt; Change with and well with all the world

  "span class =" ftr-tweet "> 

% text% & lt; a href =" Http://twitter.com/%user_screen_name%/statuses/% Id% "class =" ftr-tweetTimestamp "& gt;% time%


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -