опитуванн
<iframe id="otpws152" src="//onlinetestpad.com/ws/8cedf1868d82418f9e9e8688039f38b1" frameborder="0" style="width:100%;" onload="var f = document.getElementById('otpws152'); var h = 0; var listener = function (event) { h = parseInt(event.data); if (isNaN(h)) h = 400; f.style.height = h + 'px'; }; function addEvent(elem, evnt, func) { if (elem.addEventListener) { elem.addEventListener(evnt, func, false); } else if (elem.attachEvent) { elem.attachEvent('on' + evnt, func); } else { elem['on' + evnt] = func; } }; addEvent(window, 'message', listener);" scrolling="no" ></iframe>
Немає коментарів:
Дописати коментар