Hello all,
I have added TweetBox as shown below. Everything works fine except
the tweet button is not active when the page is loaded. I have to
click on the input box to make it active. As I have a predifined text
I want it to be active by default. How can I make the tweet button
active by default?
<div id="tweetbox"> </div>
<script type="text/javascript">
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;");
}
});
});
</script>
Salute,
Maxim Grinev
--
You received this message because you are subscribed to the Google Groups "Twitter Anywhere Development" group.
To post to this group, send email to
twitter-de...@googlegroups.com.
To unsubscribe from this group, send email to
twitter-dev-anyw...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/twitter-dev-anywhere?hl=en.