Page 1 of 1

Twitter-Plugin in IE7

Posted: Fri Feb 13, 2009 2:46 pm
by elroyguess
After installing Twitter-Plugin I could see my Twitter-Posts in FF and Chrome, but not in IE7. IE7 did not like the line

Code: Select all

document.getElementById('twitter_update_list').innerHTML = statusHTML;
in blogger.js.

After changing it to

Code: Select all

document.getElementById('twitter_update_list').parentNode.innerHTML = statusHTML;
it worked in all browsers.

Is it a bug or is there another workaround for that?

EDIT: Added the missing "." which is in the original line.

Re: Twitter-Plugin in IE7

Posted: Fri Feb 13, 2009 8:01 pm
by judebert
If that line is copied correctly, it's a bug. However, in the version of the plugin I've got, it's actually got a period between the parentheses and the innerHTML...

Code: Select all

document.getElementById('twitter_update_list').innerHTML = statusHTML;
...which should work correctly.

There is a bug in IE, where getElementById will actually return the first element with that name, not id. Could that be getting in the way?