Hi André, Could you check you don't have javascript disabled? I know it sounds funny but I want to make sure it didn't get disabled. Otherwise, try copying and pasting the widget code fresh from our site and putting it between <html><body>Unedited Widget Code</body></html>
See if that works for you Matt On Tue, Jun 22, 2010 at 4:39 PM, André Luís Moura Lima <[email protected] > wrote: > Matt, > I added the comma,but the widget is not rendering at all.What's happening > here?? > > > > 2010/6/22 themattharris <[email protected]> > >> Hi André, >> >> Looking at your code it looks like you have added the line: >> id : 'twitterdiv' >> but forgotten to put the comma after it. >> If you add the comma the widget will work. >> >> Matt >> >> You don't need the <div id = "twitterdiv"></div> as the widget will >> automatically create that for you. >> >> On Jun 22, 6:25 am, André Lima <[email protected]> wrote: >> > any suggestion of what I'm doing wrong here?? >> > >> > On 21 jun, 22:00, André Luís Moura Lima <[email protected]> wrote: >> > >> > >> > >> > > Hello everybody, >> > > I'm doing some tests with twitter widget profile...i do everything >> right on >> > > the site,copy the resulting code to my html,but the twitter widget is >> not >> > > shown,it isn't rendering.What can be wrong?for those who can help me,I >> will >> > > post the code here.I guess I'm doing some confusion with some html >> tags like >> > > body,head,html,etc...are they necessary to the code work >> right?anyway,i hope >> > > so,cause this code that I'm posting is,obviously,an example...the real >> html >> > > have head,body,html tags.anyway,here is the code: >> > > <div id = "twitterdiv"></div> >> > > <script src="http://widgets.twimg.com/j/2/widget.js"></script> >> > > <script> >> > > new TWTR.Widget({ >> > > id : 'twitterdiv' >> > > version: 2, >> > > type: 'profile', >> > > rpp: 4, >> > > interval: 6000, >> > > width: 250, >> > > height: 300, >> > > theme: { >> > > shell: { >> > > background: '#333333', >> > > color: '#ffffff' >> > > }, >> > > tweets: { >> > > background: '#000000', >> > > color: '#ffffff', >> > > links: '#4aed05' >> > > } >> > > }, >> > > features: { >> > > scrollbar: true, >> > > loop: false, >> > > live: false, >> > > hashtags: true, >> > > timestamp: true, >> > > avatars: false, >> > > behavior: 'all' >> > > }}).render().setUser('andre').start(); >> > >> > > </script> >> > > -- Matt Harris Developer Advocate, Twitter http://twitter.com/themattharris
