Javascript Snippets
function shareCurrentPage(sb) {
var wLocHref = escape(window.location.origin + window.location.pathname);
var obj = {
fb: "https://www.facebook.com/sharer/sharer.php?u=" + wLocHref + "&t=" + document.title,
tw: "https://twitter.com/share?url=" + wLocHref + "&text=Littleapp.in",
li: "http://www.linkedin.com/shareArticle?mini=true&url=" + wLocHref
}
window.open(obj[sb], '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');
}