Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

// from http://twaud.io... var $iframe Building @Anywhere (for TXJS)

19,113 views

Published on

// from http://twaud.io...

var $iframe = $('#twitter_server'),
server = $iframe[0].contentWindow;

server.postMessage('Hello Twitter!',
'http://api.twitter.com/server.html');




// from http://api.twitter.com/server.html

window.addEventListener('message', function(event) {
var message = event.data;
doSomethingAmazingWith(message);
}, false);

Published in: Technology
  • Be the first to comment

×