Skip to content

andrewdisley/jquery-facebook-like-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

jQuery Facebook "Like" button

About

A little Plugin to create a Facebook Like button with jQuery.

Source code is at http://github.com/henningthies/jquery-facebook-like-button.

Dependency

You need jQuery.

How to Use

Pick a html element and call the fbLike("your-page.com") on it.

Example

For the html div:

###simple:

$('#facebook-like').fbLike("http://github.com");

###with options: var url = "http://github.com"; $('#facebook-like').fbLike(url, { layout: "button_count", font: "lucida grande" color: "dark" }); Defaults

scrolling: "no"
frameborder: 0
allowTransparency: true
layout: "standard"
show_faces: true
width: 450
height: 21
verb: "like"
font: "arial"
color: "light"

License

Use it like you want.

Author

Copyright 2010, Henning Thies [email protected], http://www.ubilabs.net.

About

a jQuery Wrapper to create the iFrame for the Facebook Like Button.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published