From cadbb7a74bbf157c4c673facc551907a8ac4901e Mon Sep 17 00:00:00 2001 From: Steve Date: Thu, 18 Sep 2014 19:03:09 -0500 Subject: [PATCH] Update readme.md --- readme.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index aa4e68a..14f22ec 100644 --- a/readme.md +++ b/readme.md @@ -42,15 +42,24 @@ It's that easy! With a little JavaScript to check for locale (check `navigator.l Get it on Google Play -Or, you can call some handy JavaScript! +Or, you can call some handy JavaScript! First, call this in your header to get the JavaScript straight from a CDN: + +```` + +```` + +Then, add this HTML wherever you want your badge to appear: ```` - + GetLocalizedPlayBadge.forCurrentLocale(320); + ```` +The only argument it takes is for width; the height is determined automatically. Default width is 216 pixels. + +How does it look? Check it out "in the field" [here](http://steverichey.com/dontmove/)! + Let me know if you have any questions, suggestions, or comments! ## Available badges