Jump to content

Source Code (Content not Valid)


Recommended Posts

in prestashop 1.6 under the CMS page section i only want to input code see below but each time i go to save it. i get the same error message Content is invalid 

 

Any ideas, completely stuck on this not??

 

Thanks

 

Gary 

 

Code is

 

<iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="http://form.jotformeu.com/form/40842307359355" frameborder="0" style="width:100%; height:1120px; border:none;" scrolling="no"></iframe>
<script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;[spam-filter];if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>
Link to comment
Share on other sites

×
×
  • Create New...