how to make "tweet" button active in Twitter Anywhere TweetBox
Posted
by user322293
on Stack Overflow
See other posts from Stack Overflow
or by user322293
Published on 2010-04-21T13:21:40Z
Indexed on
2010/04/21
13:23 UTC
Read the original article
Hit count: 189
twitterapi
I added a Twitter Anywhere TweetBox to my blog maxim.tumblr.com like this:
var idvar = "tweetbox"; twttr.anywhere(function (T) { T("#tweetbox").tweetBox({ label: "Tweet me:", height: 100, width: 210, defaultContent: "@maxgrinev Hello!", onTweet: function (tweet, htmlTweet) { document.getElementById(idvar).setAttribute("style", "display: none;"); } }); });Everythink works fine except the tweet button is not active by default. You have to edit the box to make it active (look here: http://maxgrinev.tumblr.com/). How can I make it active by default?
© Stack Overflow or respective owner