Jump to content

banners in news feed (ajax)


Sander

Recommended Posts

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?

Link to comment
Share on other sites

  • 7 months later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...