Sander Posted June 14, 2016 Report Share Posted June 14, 2016 Hi, In my newsfeed which is implemented with infinite scrolling, I like to alternate news with some banners. In the news-feed (which is loaded by ajax) there are some banner elements like: <ins data-revive-zoneid="229" data-revive-block="1" data-revive-id="5b3abbc94f96a0b5d375d85178a9a021"></ins> That element has to be filled by Revive adserver. Because asyncjs.php works only once, I do: reviveAsync = null; $.getScript('//delivery.ads.myserver.tld/www/delivery/asyncjs.php'); But that issn't nice code, and the history of the banners is not saved in the dom. Any solution? Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted February 1, 2017 Report Share Posted February 1, 2017 Hi @Sander, Given that you're making dynamic updates to a page anyway, would using the normal JS tags work, rather than the async tags? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.