Category Archives: Examples/How-to’s

Uploading files cross-domain, ajax-style

Uploading files the ‘ajax’-style is something that has been easy to do, as it’s really as easy as targeting a hidden iframe and returning the windows content after load. But when doing these uploads cross-domain, how are you then to … Continue reading

Posted in Blog, Examples/How-to's | Tagged , | 44 Comments

Creating a bookmarklet with easyXDM

Bookmarklets has been common for a long time and are quite easy to make. But one thing that you often see when examining the code behind bookmarklets are that most of the code is ┬ájust to facilitate simple cross domain … Continue reading

Posted in Examples/How-to's | Tagged , , , , , , , | 2 Comments

Sending and receiving messages

The base functionality delivered by easyXDM is to, without any server-side dependencies,  pass string based messages between two domains in a fast, reliable and secure way.

Posted in Examples/How-to's | Tagged , , , , , , | 11 Comments

Remote Procedure Calls (RPC)

As fun as transferring simple strings from one domain to another might sound; is this really what you need? While some applications (like the resize iframe example) might need nothing more, most often what you want is to be able … Continue reading

Posted in Examples/How-to's | Tagged , , , , , , , , | 14 Comments

Cross-domain AJAX

As mashups are getting more and more common a problem that keeps arising is how to include data from external domains in a safe way.

Posted in Examples/How-to's | Tagged , , , , , , , , , | 58 Comments

Resize iframe based on content

One thing that many are using easyXDM (and other cross-domain hacks) for, is to dynamically change the size of embedded iframes based on the contents size, so as to avoid the scrollbars. With easyXDM this is really easy:

Posted in Examples/How-to's | Tagged , , , , , | 148 Comments