Multiple insertion with parallel code changes
-
Hi,
I’m asking for your help.
I insert the same code every N paragraphs (%N@S).
<div id=divID_01></div> <script> ;(function ads(a, b, c) { w[c] = w[c] || []; w[c].push(function() { ads.create({ adID: 123456, divId: 'divID_01' }) }) })() </script>
In this code adID is a constant, only the container divId changes (it should be unique).
Yes, there are filters. But there’s a problem with them, and so far I can’t get them to work guaranteed.
So question: Is there an alternative way to repeatedly insert code with divId changing in two places at the same time — in the container and in the code itself?
The divId can be anything random, but every time code is inserted the divId must be the same in the container and in the code that references the container.
Thanks a lot.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Multiple insertion with parallel code changes’ is closed to new replies.