Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter ijennings

    (@ijennings)

    Hi Thanks for getting back to me so promptly. This code goes in the tab create the widget
    <div>
    <div id=”leaguetable-widget”
    class=”cleanslate crowdscores-widget”
    data-competition-ids=”2″
    data-team-id=”1″>
    </div> </div>

    Then this java script goes in the page header to populate the wiget and update it
    <script>
    (function(a,b,c,d,e,f){e=a.createElement(b),
    f=a.getElementsByTagName(b)[0]; e.src=c; e.id=d; f.parentNode.insertBefore(e,f)
    })(document,’script’,’https://widgets.crowdscores.com/static/js/widgets.js&#8217;,’crowdscores-widget-js’);
    </script>

    If I put the widget code on the page it populates straight away so it includes the latest data and the shirt images.
    when the page loads.
    If I put the wiget code within a tab it only haly loads. It only updates the data and displays the shirt images after the next update call, and then only in the selected tab. Every time a different tab is selected I have to wait up to 30 seconds until the next update cycle so that it actually displays correctly.

    I have tried it on chrome and ie 9 and also on android browser and it is same on every page. I have also tried it with and without add blocker being enabled.

    Regards

    Ian

Viewing 1 replies (of 1 total)