-
Notifications
You must be signed in to change notification settings - Fork 4
jQuery plugin for the AddThis tool
bdewong/jQuery-AddThis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a jQuery implementation of the AddThis widget that is available from http://AddThis.com. ====== Usage: ====== HTML <a class="addthis"></a> JS $.addthis(); -or- $.addthis('username'); where username is your AddThis username. Useful for tracking statistics. -or- $.addthis('username', opts); Where opts are options, the following options are supported elem: the element to apply the "Add This" button to (default: a.addthis) btn_size: the size of the button to be displayed (large, small) url: the url to be shared (default: '[URL]') url_title: title of the url to be shared (default: '[TITLE]') example: $.addthis('john.doe', { elem: '#at_button', btn_size: 'small' }); ====== Version History: ====== 0.3 Removed element option and added options parameter 0.2 Added element option 0.1 Initial version, uses the basic options that allow you to put this on your site
About
jQuery plugin for the AddThis tool
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published