Native Site » Appearance of one2many codes

Appearance of one2many codes

Last modified by superadmin on 2013/03/06 14:14
Comments (0) · Attachments (0)

One2many code consists of two parts:

  1. code of ad position, named also as Div or Slave code

    <!-- iBILLBOARD Ad Server one2many Pozice: go.eu.bbelements.com Prezentace(1287) / Auto-moto(1) / 745x100(2) / leader 745 745x100(32)-->
    <!-- HowTo: Place this code into the html page there the ad should appear. -->
    <div id='bmone2n-1287.1.2.32'></div>

  2. control unit of one2many code named as Master code

    <!-- iBILLBOARD Ad Server one2many code -->
    <!-- HowTo: All the ad codes must be above this code! -->
    <!-- HowTo: It is a good idea to place this code just below the last ad code. -->
    <script type='text/javascript' charset='windows-1250' src='https://go.eu.bbelements.com/bb/bb_one2n.js'></script>
    <script type='text/javascript'>/* <![CDATA[ */ 
    bmone2n.addPosition('1287.1.1.1','');
    bmone2n.addPosition('1287.1.2.32','');
    bmone2n.getAd('go.eu.bbelements.com','',''+(typeof(bburlparam)=='string'?'&'+bburlparam:''),'windows-1250');
    /* ]]> */</script>
    <div id='bmone2t-1287.1.1.1' style='display:none'><script type='text/javascript'>/* <![CDATA[ */ bmone2n.makeAd('1287.1.1.1'); /* ]]> */</script></div>
    <div id='bmone2t-1287.1.2.32' style='display:none'><script type='text/javascript'>/* <![CDATA[ */ bmone2n.makeAd('1287.1.2.32'); /* ]]> */</script></div>
    <script type='text/javascript'>/* <![CDATA[ */ bmone2n.moveAd(); /* ]]> */</script>

NOTE:
The control unit of one2many code can be only on the page once and contains IDs of all ad positions on the page. Interventions to the control unit of one2many code can result in ads on the page not being displayed.

Tags:
Created by Barbora Račková on 2011/11/10 16:49
Translated into en by Lenka Kocurková on 2011/11/18 09:47

Navigation


This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 4.0 - Documentation