Twitter widget with style of Facebook likebox

0

Why Facebook has a like box, while Twitter has only button? We can change this situation by adding simple but powerful jQuery plugin, which add facebook like box style widget for twitter. Enough options are available to customize the twitter follow box widget to match your site design.

Twitter widget with style of Facebook likebox

How To Use
It is very simple to add twitter follow box to your site. The process is just like adding any other jquery plugins. Add the following code inside head tag.

<link href="css/followbox.css" rel="stylesheet" type="text/css"/>
<script src="js/jquery-1.7.1.js" type="text/javascript"></script>
<script src="js/jquery.followbox.min.js" type="text/javascript"></script>
Do not forget to check the file path. Now if you need to display the widget inside a div with id #container1, here is the code to call the plugin.
$('#container1').followbox({
    'user' : 'your twitter username here'
});

Available Options:

  • user : Twitter user name
  • width : Widget width in pixels
  • height : Widget height in pixels
  • theme : Values can be 'light', 'dark' or 'custom'. Customization can be done only in 'custom' mode
  • border_color : Widget border color
  • bg_color : Widget background color
  • bg_image : Widget background image url. It will override background color
  • title_color : Widget main title color
  • total_count_color : Color of line showing follower count
  • follower_name_color : Color of followers' names

Get Twitter widget

LEAVE A REPLY

Please enter your comment!
Please enter your name here