Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Small script to add Google +1 to a Posterous theme using an iframe.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 README.md
Octocat-spinner-32 index.php
README.md

See Adding Google's +1 (plus one) button to your Posterous.

This is a small script to add Google +1 to a Posterous theme using an iframe. It can also be used wherever Javascript isn't allowed but iframes are.

Install

Upload index.php to a PHP server.

Parameters

  • url: URL to share
  • size (optional): size of button (standard, small, medium, tall)

Usage

Tall button for Posterous

<iframe src="http://.../?url={Permalink}&size=tall" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" style="border:0;width:50px;height:60px;"></iframe>

Standard button for Posterous

<iframe src="http://.../?url={Permalink}" marginheight="0" marginwidth="0" frameborder="0" scrolling="no" style="border:0;width:110px;height:30px;"></iframe>

Demo

Olivier Lalonde's Posterous

Something went wrong with that request. Please try again.