Widget:Banner: различия между версиями
Sofi (обсуждение | вклад) (Новая страница: «<script type='text/javascript'>(function() { →Optional settings (these lines can be removed):: subID = ""; // - local banner key; injectTo = ""; //…») |
(нет различий)
|
Версия от 08:57, 8 марта 2017
<script type='text/javascript'>(function() {
/* Optional settings (these lines can be removed): */ subID = ""; // - local banner key; injectTo = ""; // - #id of html element (ex., "top-banner"). /* End settings block */
if(injectTo=="")injectTo="admitad_shuffle"+subID+Math.round(Math.random()*100000000); if(subID==)subid_block=; else subid_block='subid/'+subID+'/';
document.write('
');
var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://ad.admitad.com/shuffle/e5f374cec0/'+subid_block+'?inject_to='+injectTo; var x = document.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); })();</script>