Concatenate Facebook Like/Tweet/+1 social buttons javascript for external loading - repost
€8-30 EUR
Annulé
Publié il y a plus de 10 ans
€8-30 EUR
Payé lors de la livraison
I need you to modify the following blocks of code, respectively, Facebook Like , Twitter Tweet and Google +1 social plugins. All the javascript used should be placed into 1 .js file that I can use instead of calls for 3 separate buttons.
Do not use external tools such as AddThis, ShareThis etc.
Javascript/jQuery only - If you use jQuery you will have to include it in the single file.
Google Javascript:
(function() {
var po = [login to view URL]('script');
[login to view URL] = 'text/javascript'; [login to view URL] = true;
[login to view URL] = '[login to view URL]';
var s = [login to view URL]('script')[0];
[login to view URL](po, s);
})
();
Facebook Javascript:
[login to view URL] = function() {
[login to view URL](FB);
};
(function(d, s, id) {
var js, fjs = [login to view URL](s)[0];
if ([login to view URL](id)) return;
js = [login to view URL](s); [login to view URL] = id;
[login to view URL] = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=xxxxxxxxxxxxxxxx";
[login to view URL](js, fjs);
}(document, 'script', 'facebook-jssdk'));
Twitter Javascript:
!function(d,s,id){
var js,fjs=[login to view URL](s)[0],p=/^http:/.test([login to view URL])?'http':'https';
if(![login to view URL](id)) {
js=[login to view URL](s);
js.id=id;
js.src=p+'://plat`enter code here`[login to view URL]';
[login to view URL](js,fjs);
}
}
(document, 'script', 'twitter-wjs');
N° de projet : 5031133
Concernant le projet
Projet à distance
Actif à il y a 11 ans
Cherchez-vous à gagner de l'argent ?
Avantages de faire une offre sur Freelancer
Fixez votre budget et vos délais
Soyez payé pour votre travail
Surlignez votre proposition
Il est gratuit de s'inscrire et de faire des offres sur des travaux