|

Vous en pensez quoi, des Pit Bull?

Par Pier Savard

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; case « collapseErrorPage »: if (iframe.clientHeight > window.innerHeight) { iframe.style.height = window.innerHeight + « px »; } break; case « reloadPage »: window.location.reload(); break; } var isJotForm = (e.origin.indexOf(« jotform ») > -1) ? true : false; if(isJotForm && « contentWindow » in iframe && « postMessage » in iframe.contentWindow) { var urls = {« docurl »:encodeURIComponent(document.URL), »referrer »:encodeURIComponent(document.referrer)}; iframe.contentWindow.postMessage(JSON.stringify({« type »: »urls », »value »:urls}), « * »); } }; if (window.addEventListener) { window.addEventListener(« message », handleIFrameMessage, false); } else if (window.attachEvent) { window.attachEvent(« onmessage », handleIFrameMessage); } if(window.location.href && window.location.href.indexOf(« ? ») > -1) { var ifr = document.getElementById(« JotFormIFrame »); var get = window.location.href.substr(window.location.href.indexOf(« ? ») + 1); if(ifr && get.length > 0) { var src = ifr.src; src = src.indexOf(« ? ») > -1 ? src + « & » + get : src + « ? » + get; ifr.src = src; } }

NOUVELLES SUGGÉRÉES

1 Comment

  1. danny Audet

    Je ne crois pas que nous devons visé une race en particulier mais bien plus une réglementation sur ce qui tourne autour l’adoption d’un chien et des règlements pour tout les chiens en générale

    Reply

Submit a Comment

Votre adresse courriel ne sera pas publiée. Les champs obligatoires sont indiqués avec *