README.md in googledocviewer-0.0.2 vs README.md in googledocviewer-0.0.3
- old
+ new
@@ -45,10 +45,22 @@
$('a.embed').gdocsViewer();
```
or
```html
$('#embedURL').gdocsViewer();
+```
+
+## Settings
+
+The default width is 600px height is 700px. You can change this in your javascript by passing in a json object for width and height. For example, you would change width to 400px and height to 500px by doing...
+
+```html
+ $('a.embed').gdocsViewer({width :'400',height : '500'});
```
+or
+```html
+ $('#embedURL').gdocsViewer({width :'400',height : '500'});
+```
## Contributing
1. Fork it ( https://github.com/scy0846/googledocviewer/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)