20 lines
1.4 KiB
PHP
20 lines
1.4 KiB
PHP
<div class="partners" id="infox">
|
|
<!--Infox-->
|
|
<div class="infox_15804"></div><script>
|
|
(function(w, d, n, s, t) {
|
|
w[n] = w[n] || [];
|
|
w[n].push(function() {
|
|
var gel = null;
|
|
INFOX15804.renderTo = function(className) {var cont = document.querySelectorAll(className);for (var i = cont.length - 1; i >= 0; i--) {if(!cont[i].innerHTML.length) {toElem = cont[i];gel = cont[i];}}if (! toElem ) return;toElem.classList.remove("infox_15804");var ctx = Object.create(InfoxCtx15804);ctx.init(toElem);};
|
|
INFOX15804.renderTo(".infox_15804");
|
|
var timerId_ = setInterval(function(){var bl_content = gel.innerHTML.length;if(bl_content) {clearInterval(timerId_);var arr = gel.getElementsByTagName('script');for (var n = 0; n < arr.length; n++) {var src = arr[n].getAttribute('src');var id = arr[n].getAttribute('id');if (src != null&&src != '') {var script = document.createElement('script');script.src = src;document.head.appendChild(script);} else {eval(arr[n].innerHTML);}}}}, 200);
|
|
});
|
|
t = d.getElementsByTagName("script")[0];
|
|
s = d.createElement("script");
|
|
s.type = "text/javascript";
|
|
s.src = "//rb.infox.sg/infox/15804";
|
|
s.async = true;
|
|
t.parentNode.insertBefore(s, t);
|
|
})(this, this.document, "infoxContextAsyncCallbacks15804");
|
|
</script>
|
|
</div> |