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