Skip to content

Turn any div into a tweetable quote with Bootstrap & jQuery

License

Notifications You must be signed in to change notification settings

d4software/tweetthisjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tweetthis.js 

Turn any div into a tweetable quote

A javascript snippet which turns any div with the class tweetthis into a tweetable quote - complete with a link back to the source page.

Prerequisites

Tweetthis.js was extracted from QueryTree, so relies on the same prerequisites we used there;

  • Bootstrap - button styling
  • Font Awesome - for the Twitter icon

Usage

  1. Include tweetthis.js or paste into the body of the page
  2. Add a tweetthis class to the relevant div
  3. Optionally add styles to .btn-tweetthis in your CSS as needed

Enjoy!


Made with ♥ by @d4software • MIT Licence

Releases

No releases published

Packages

No packages published