Social buttons Linkedin recommend,facebook like,google+

Social button sample

{“parsetags”: “explicit”}

function renderPlusone() {
gapi.plusone.render(“plusone-div”, {“size”: “medium”, “annotation”: “inline”, “href”: “http://www.voicent.com” });
}

function renderInRecommend() {
var parent = document.getElementById(‘inrecdiv’);
var child = document.getElementById(‘inrecimg’);
parent.removeChild(child);

var e = document.createElement(‘script’);
e.type=”text/javascript”;
e.src = ‘http://platform.linkedin.com/in.js’;
document.getElementsByTagName(‘head’)[0].appendChild(e);
}

function renderFbLike() {
var parent = document.getElementById(‘fblikediv’);
var child = document.getElementById(‘fblikeimg’);
parent.removeChild(child);

var html2 = “”;
document.getElementById(‘fblikediv’).innerHTML = html2;
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s