HTML code problem

Posted in: Newspaper
Post count: 20

Good afternoon,

Before buying the Newspaper theme for my website http://www.raquetc.com, I had a different one also on WordPress for Ténis Portugal (www.tenis-portugal.com). In that page, I had a section with all the tennis live scores available by just one click (http://tenis-portugal.com/live-scores/).

Now, I’m trying to do the same in the new website but for some reason the exact same code (and different ones) isn’t working. Instead the page just stays with a huge blank white space.

Here is the code:

<iframe id="inscore-xdc-757524" src="http://www.livescore.in/pt/free/757524/" width="624" height="500" frameborder="0" scrolling="no"></iframe>

<script type="text/javascript">/*<![CDATA[*/try{function inscore_757524_xdc(){this.elm = null;this.hash = null;var times_resized = 0;var times_not_resized = 0;this.resize = function(){times_resized == 1023 && (times_resized = 0);times_not_resized == 1023 && (times_not_resized = 0);if(this.getElm() && location.hash && location.hash != this.hash){this.hash = location.hash;var reggg = new RegExp(".*inscore_ifheight_xdc_([0-9]{2,5}).*");if(result=reggg.exec(location.hash)){this.getElm().style.height = (typeof result[1] == "undefined" ? "10000":(result[1] > 500 && result[1] <= 30000 ? parseInt(result[1]):500)) + "px";times_resized ++;}} else if(location.hash && location.hash == this.hash) times_not_resized ++;else return resize_later(75);resize_later(250);};var resize_later = function(time){setTimeout(function(){ inscore_757524_xdc_run.resize(); }, time);};this.getElm = function(){try {(typeof this.elm == "undefined" || this.elm === null || !this.elm) && (this.elm = document.getElementById("inscore-xdc-757524"));} catch(e) { this.elm = null; }return this.elm;};var show_links = function(){if((times_resized >= 1 || times_not_resized >= 2) && (obj = document.getElementById("freescore_links_757524"))){obj.style.visibility = "visible";obj.style.display = "block";} else show_links_later();};var show_links_later = function() { setTimeout(function(){ show_links(); }, 100); };if (typeof window.postMessage == "undefined"){show_links_later();resize_later();}else{var ev = function(event){try{var data = JSON.parse(event.data);}catch (e){return;}if (data instanceof Array && data[0] == 757524 && typeof data[1] != "undefined"){eval(data[1]);}};if (window.addEventListener){window.addEventListener( "message", ev);}else if ( window.attachEvent ) {window.attachEvent("onmessage", ev);}setTimeout(function(){ document.getElementById("inscore-xdc-757524").contentWindow.postMessage(JSON.stringify(["757524", "run"]), "*"); }, 2000);show_links_later();resize_later();}};var inscore_757524_xdc_run = new inscore_757524_xdc();}catch(e){document.getElementById("inscore-xdc-757524").style.height = "10000px";}
/*]]>*/</script>

Can you please help me out? This was a HUGE feature for our visitors and now we’ve lost it…

Thank you so much!

Post count: 1341

Try this solution from FAQ:

Question: I am using WordPress. Why is the inScore not working?

Answer: WordPress is incompatible with the inScore code. That is why we have developed the WordPress inScore plugin for you. You can download it here. You will find ID of the inScore under your code in the member area.

http://www.livescore.in/free-livescore/faq-php/

Post count: 20

Good morning,

This is what happens when I try that https://raquetc.com/teste

Thank you

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.