CMS DataLife Engine - Система управления сайтами

Sign in to follow this  
MSK

Masha

Recommended Posts

В masha.js часть ссылок на соцсети без ssl

	$("#share-popup .social .tw").attr("href","http://twitter.com/share?url="+a+"&text="+b);
	$("#share-popup .social .tw").attr("onclick","window.open('http://twitter.com/share?url="+a+"&text="+b+"','plusshare','width=650,height=400,resizable=1,scrollbars=1,left='+(screen.availWidth/2-325)+',top='+(screen.availHeight/2-200)+'');return false;");
	$("#share-popup .social .fb").attr("href","http://www.facebook.com/share.php?u="+a);
	$("#share-popup .social .fb").attr("onclick","window.open('http://www.facebook.com/share.php?u="+a+"','plusshare','width=650,height=400,resizable=1,scrollbars=1,left='+(screen.availWidth/2-325)+',top='+(screen.availHeight/2-200)+'');return false;");
	$("#share-popup .social .vk").attr("href","http://vk.com/share.php?url="+a);
	$("#share-popup .social .vk").attr("onclick","window.open('http://vk.com/share.php?url="+a+"','plusshare','width=650,height=400,resizable=1,scrollbars=1,left='+(screen.availWidth/2-325)+',top='+(screen.availHeight/2-200)+'');return false;");
	$("#share-popup .social .gp").attr("href","https://plus.google.com/share?url="+ a);
	$("#share-popup .social .gp").attr("onclick","window.open('https://plus.google.com/share?url="+a+"','plusshare','width=650,height=500,resizable=1,scrollbars=1,left='+(screen.availWidth/2-325)+',top='+(screen.availHeight/2-250)+'');return false;");

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this