Hi, Thanks for your answer. I dont have a server though so it didnt work. But I solved my problem when I found the flash widgets. They worked just fine cause they dont have the same kind of id.
Kind regards On 29 Jan, 17:57, Matt Sanford <[email protected]> wrote: > Hi there, > > I think the problem is the ul element with the id > 'twitter_update_list'. Since blogger.js puts the content in the > element with the id 'twitter_update_list', both are attempting to put > content into the same place. Having two HTML elements with the same id > is not really valid so the browser just tries to do the best it can. > Your best bet is to copy the blogger.js to your server, change the > twitter_update_list and twitterCallback2 to something else, and use > the for the second widget. > > Thanks; > — Matt Sanford / @mzsanford > > On Jan 29, 2009, at 04:44 AM, ogooglad wrote: > > > > > > > Hi, > > > maybe a stupid question. But I have a blog on blogger and now I > > started a twitter and I made my twitter-posts appear in the blog. Now, > > my gf have a twitter account as well and I want her twitter-posts to > > appear on the same blog. > > > I am using this code that I got from twitter: > > > <div id="twitter_div"> > > <h2 style="display:none;" class="sidebar-title">Twitter Updates</h2> > > <ul id="twitter_update_list"></ul> > > <a id="twitter-link" style="display:block;text-align:right;" > > href="http://twitter.com/**************">follow me on Twitter</a> > > </div> > > <script src="http://twitter.com/javascripts/blogger.js" type="text/ > > javascript"></script> > > <script src="http://twitter.com/statuses/user_timeline/ > > *************.json?callback=twitterCallback2&count=5" type="text/ > > javascript"></script> > > > where ***************** indicates my twitter-name > > and for my gf´s twitter-gadget i use the same code but with different > > twitter-names. > > > The code was generated in twitter so it should be alright, but when I > > load my blog it doesnt work. The first gadget gets the twitter-posts > > from the second twitter and the second gadget doesnt get any twitter- > > posts at all. > > Also, the first gadget seems to first load the right twitter-posts, > > but then they dissappear and the wrong ones appear. > > > It seems that the blogger-site cannot handle two twitters or whar is > > the problem???- Dölj citerad text - > > - Visa citerad text -
