Please upgrade here. These earlier versions are no longer being updated and have security issues.

Enabling Fast, Light Weight and Lazy Loading Social Buttons (Twitter, FB, G+)

aeryaery Gtricks Forum in 2.2 :) ✭✭✭
edited December 2012 in Vanilla 2.0 - 2.8

We all know the value to fast loading pages but these social buttons make all our efforts and minutest improvements worthless.
To load the Facebook, Twitter and Google social media buttons page requires total of 19 requests takes 246.7k in bandwidth.

Solution - SocialCount

It is a small jQuery plugin for progressively enhanced, lazy loaded, mobile friendly social networking widgets. With just 2.98KB and1 JS request, 1 CSS request, 1 optional request for icons, 1 optional AJAX request for counts (compared to 25 total requests for Facebook, Twitter, and Google Plus widgets)

Demo

More information on Github

Now, I am trying to develop a plugin with this. [Please note that I am complete noob here and therefore seeking advice.]

Problem -

The markup has to be placed after event - FireEvent('AfterDiscussion');

The text to be shared is - Data('Discussion.Name')

URL to be shared - ????

Help me out.

Comments

Sign In or Register to comment.