Beside the traditional Iframe Facebook supports also HTML5 for the Facebook Like Button. The HTML5-version fits better into HTML5-themes and adapts the height automatically.

This patch provides an input field to select if you want to use Iframe oder HTML5 and changes the output accordingly.

For the HTML5-version you need also to put the file 'fblikebutton_html5.js' into the fblikebutton-folder.

CommentFileSizeAuthor
fblikebutton_html5.zip386 bytessmitty
html5.patch5.56 KBsmitty

Comments

torotil’s picture

This is a duplicate of http://drupal.org/node/1487902 which also has a patch attached for the D6 version.

lliss’s picture

Status: Needs review » Closed (duplicate)