jQuery postMessage plugin v0.4

|

How about some cross-domain scripting goodness, for a change?

This jQuery plugin enables simple and easy window.postMessage communication in browsers that support it (FF3, Safari 4, IE8), while falling back to a document.location.hash communication method for all other browsers (IE6, IE7, Opera). One example where this is useful is when a child Iframe needs to tell its parent that its contents have resized.

Check out the documentation and examples over at the postMessage plugin page now, and let me know if you have any questions, comments, or suggestions!

Post A Comment

  • Any of these HTML tags may be used for style: a, b, i, br, p, strong, em, pre, code.
  • Multi-line JavaScript code should be wrapped in <pre class="brush:js"></pre>
    (supported syntax highlighting brushes: js, css, php, plain, bash, ruby, html, xml)
  • Use &lt; instead of < and &gt; instead of > in the examples themselves.