Insert planner

Example of code for insertion of Roomtodo to merchants website

<iframe frameborder="0" id="iframe7384d8cb02ad2ef7e696fddf9a5394a7" src="https://n.roomtodo.com/planner?site_key=7384d8cb02ad2ef7e696fddf9a5394a7" style="width: 800px; height: 600px;"></iframe> <script> window.addEventListener('message', messageListener); function messageListener(e) { try { var dataObj = JSON.parse(e.data); if (dataObj.action == 'program_ready') { // Roomtodo is ready var iframeRoomtodo = document.getElementById('iframe7384d8cb02ad2ef7e696fddf9a5394a7'); // iframeRoomtodo will be used for further integration } } catch ( error ) {} } </script>