Social Mandarin Widget

Social Mandarin has a widget to display on your site! Here is how it looks like:


Grab the code below and put it on your site. If you do, contact me at socialmandarin@gmail.com and you'll get linked in the right sidebar.

<script type="text/javascript">
var box_width = "230px";
var box_height = "375px";
var text_size = "8";
var how_many = 8;
var logo_style = "light";
var bg_color = "ffffff";
var text_color = "666666";
var link_color = "333333";
var border_color = "cccccc";
var score_bg_color = "ffe995";
var score_text_color = "663300";
var score_border_color = "ffe995";
</script>
<script type="text/javascript" src="http://www.socialmandarin.com/sites/all/modules/drigg/drigg_box/drigg_box.js"></script>

Currently, as you can see, the variables are very much explanatory. The default size values are width = 230px and the height = 375px. The widget currently on my blog's sidebar uses the width = 100% to fill the sidebar. However, if your sidebar is not fixed, then I recommend using the default values. Otherwise, edit the size as you wish. The image will scale along with it.

Other variables include changing how_many links to show and the text size. To add it in WordPress just add a widget on the sidebar and copy the code into it! If you have any queries, suggestions or questions please don't hesitate to contact me via email: socialmandarin@gmail.com