Перейти к содержанию

Widget:Banner: различия между версиями

нет описания правки
(Новая страница: «<script type='text/javascript'>(function() { →‎Optional settings (these lines can be removed):: subID = ""; // - local banner key; injectTo = ""; //…»)
 
Нет описания правки
Строка 1: Строка 1:
<script type='text/javascript'>(function() {
<!-- admitad.banner: 21baffeda608f97f930c6fc015d692 myToys -->
  /* Optional settings (these lines can be removed): */
<a target="_blank" rel="nofollow" href="https://ad.admitad.com/g/21baffeda608f97f930c6fc015d692/?i=4"><img width="728" height="90" border="0" src="https://ad.admitad.com/b/21baffeda608f97f930c6fc015d692/" alt="myToys"/></a>
  subID = "";  // - local banner key;
<!-- /admitad.banner -->
  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('<div id="'+injectTo+'"></div>');
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>
12 472

правки