SUP Board + Raft Browns Canyon
Stand Up Paddle Board Packages Browns Canyon
// Create IE + others compatible event handler var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent"; var eventer = window[eventMethod]; var messageEvent = eventMethod == "attachEvent" ? "onmessage" : "message";
// Listen to message from child window eventer(messageEvent, function(e) { document.getElementById('iframeAdventureOffice').height = e.data + 'px'; }, false);