سؤال

I'm aware of the hacks using hash tags, however, I need bi-directional communication with larger payloads and higher throughput. Are there any Flash/ActiveX/etc options that make this possible?

هل كانت مفيدة؟

المحلول

Jquery windowMsg plugin provides a good all browser compliant solution.

See an example:

http://iterativo.wordpress.com/2010/03/24/using-jquery-to-communicate-between-browser-windows/

A link to the plugin code:

http://go-trendy.com/javascripts/jquery.windowmsg-1.0.js?1279359701

نصائح أخرى

EasyXDM is the closest I can think of, although it isn't a postMessage() polyfill, so would need a lot of work. Also as at Sept 2012, there is a note saying that EasyXDM isn't working for IE6/IE7 - YMMV.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top