Logo
blockHeaderEditIcon
Gärner Beschichtungszentrum Celle - Industrielackierungen, Pulverbeschichtungen, Sandstrahlen
Menu
blockHeaderEditIcon
Breadcrumbs navigation
blockHeaderEditIcon
"); } }, init: function(jquery_src, resizer_src) { if(!window.jQuery) { console.log('jQuery not found. Loading jQuery...'); WBSIFRAME.getScript(jquery_src); } if(typeof iFrameResize != 'function') { var wait = setInterval(function() { if(typeof window.jQuery == 'function') { clearInterval(wait); WBSIFRAME.getScript(resizer_src); } }, 100); } }, wait4Resizer: {}, wait4Iframe: {}, wait4IframeObserver: {}, checkIfVisible: function(key, ifr, attempt) { setTimeout(function() { if(!ifr.is(':visible')) { WBSIFRAME.resizeIframeWhenVisible(key, ifr); } else if(attempt < 3) { WBSIFRAME.checkIfVisible(key, ifr, ++attempt); } }, 100 * attempt); }, enabled: function(key) { if(typeof window.jQuery != 'function') { return false; } var ifr = window.jQuery('iframe[id=wbs_frame_' + key + ']'); if(!ifr.length || typeof iFrameResize != 'function') { return false; } console.log('IFRAME LOADED ' + key); ifr.iFrameResize({ log: false, checkOrigin: false }); /* iframe resizer */ if(!ifr.is(':visible')) { WBSIFRAME.resizeIframeWhenVisible(key, ifr); } else { WBSIFRAME.checkIfVisible(key, ifr, 1); } return true; }, enableResizer: function(key) { if(!WBSIFRAME.enabled(key)) { WBSIFRAME.wait4Resizer[key] = setInterval(function() { if(WBSIFRAME.enabled(key)) { clearInterval(WBSIFRAME.wait4Resizer[key]); } }, 100); } }, resizeIframeWhenVisible: function(key, ifr) { if ("MutationObserver" in window) { WBSIFRAME.wait4IframeObserver[key] = new MutationObserver(function(mutations) { if(ifr && ifr.is(':visible') && ifr[0] && ifr[0].iFrameResizer && !WBSIFRAME.wait4Iframe[key]) { ifr[0].iFrameResizer.resize(); WBSIFRAME.wait4Iframe[key] = true; WBSIFRAME.wait4IframeObserver[key].disconnect(); } }); WBSIFRAME.wait4IframeObserver[key].observe(window.jQuery('body')[0], { attributes: true, childList: true, characterData: true, subtree: true }); } else { WBSIFRAME.wait4Iframe[key] = setInterval(function() { if(ifr && ifr.is(':visible')) { if(ifr.iFrameResizer) ifr.iFrameResizer.resize(); clearInterval(WBSIFRAME.wait4Iframe[key]); } }, 250); } } }; /* init once */ WBSIFRAME.init('https://static.worldsoft-wbs.com/fwassets/js/jquery/1.11.0/jquery-1.11.0.min.js', 'https://static.worldsoft-wbs.com/fwassets/iframe-resizer/iframeResizer.min.js'); } /* iframe output */ WBSIFRAME.iframeOutput("2563e623b0207f756925019b5cb44f15", "https://widgets.worldsoft-wbs.com/de/forms/widget/50795626/104", "100%", "0", ""); /* enable resizer for current iframe */ WBSIFRAME.enableResizer('2563e623b0207f756925019b5cb44f15');

Benutzername:
User-Login
Ihr E-Mail
*