Options

callback: function

Default empty function

Optionally define a callback function (in this case inline) that will do something with the callbackObject.newFrameHeight value. This can for instance be used with easyXDM to alert another domain that the frame has changed height.

TODO List:

create a bower package

publish demo site to heroku

automated tests

Patches:

The 'master' source file is located in the demo_on_rails directory here
All html files in the demo directory point to this 'master' file.
When modifying the code you can view changes in the static html files in demo or fire up the rails app in demo_on_rails.

If you have ruby installed you might want to utilize some of these tools, first run bundle to install needed gems

before the rails app was part of this project I used webrick for testing the static html files in webkit browsers,
but using localhost and file:/// are problematic, webrick can use your local machine ip address and any port you want

ruby webrick.rb --port 3333 --bind 192.168.0.5 --docroot .

Building the release

First update the version.rb file, then run the ruby command. The script will put two files in the release directory,
one minified and one full. A small amount of search and replace takes place on the comment block for output files.

ruby releaser.rb

Known Issues

with IE8 it seems better to not specify the height attribute on the iframe

Issues

If you come across issues feel free to post them using the 'Issues' tab above (github)