有没有办法自定义Twitter @Anywhere的风格

时间:2012-12-20 06:20:38

标签: jquery twitter

我有@Anywhere工作,tweetBox出现了,我有很多用以下代码自定义。我很好奇是否有自定义推文按钮,包括更改其位置,使用图像等等。

twttr.anywhere(function (t) { 
  var me = this; 
  var a = t('#tweetControls').tweetBox({
   height : 75, 
   width : 480, 
   defaultContent : 'Default Text', 
   counter : false, 
   label : ' ', 
   complete : function (tweetBox) {
      me.tweetBox = tweetBox; 
      try {
         me.tweetBox.$editor.css({
            resize : 'none', 
            color : '#9B9B9B', 
            'font-family': 'Arial', 
            'font-size': '14px', 
            background : 'transparent', 
            'border-radius': 0, 
            '-webkit-border-radius': 0, 
            '-moz-border-radius': 0 
         }); 
         me.tweetBox.$button.css( {
            cursor : 'hand', 
            cursor : 'pointer' ,
            display: none
         }); 
    } catch (e) {
    //
    }
}, 
    onTweet : function () {
    me.tweetBox.setContent('Restore default text'); 
}
}); 
});

0 个答案:

没有答案
相关问题