User Tools

Site Tools


creatives:html-en

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
creatives:html-en [2017/03/28 13:33]
dczipperer
creatives:html-en [2018/06/12 11:34]
zkocsis
Line 12: Line 12:
 ==== HTML or Markup banner? What is it all about, and what's the difference in Adverticum'​s AdServer? ==== ==== HTML or Markup banner? What is it all about, and what's the difference in Adverticum'​s AdServer? ====
  
-Markup ​banneres ​are almost like normal HTML banners, but as being XHTML, XML also, it has more restrictions,​ but provide wider possibilities. From a technical perspective the relevant distinction is that Markup banners are displayed as part of the suite, and not in an iFrame like regular HTML banners do. Markup banners can utilize the site's own CSS, and also provide the option for various custom animation, and transition effects, witout the use of display modules. ​T**he AdServer checks the XHTML, XML and HTML5 codes** and indicates if there is an error. You can read more infomation about validators here: +Markup ​banners ​are almost like normal HTML banners, but as being XHTML, XML also, it has more restrictions,​ but provide wider possibilities. From a technical perspective the relevant distinction is that Markup banners are displayed as part of the suite, and not in an iFrame like regular HTML banners do. Markup banners can utilize the site's own CSS, and also provide the option for various custom animation, and transition effects, witout the use of display modules. **The AdServer checks the XHTML, XML and HTML5 codes** and indicates if there is an error. You can read more infomation about validators here: [[http://​dev.adverticum.com/​creatives:​validators 
 +]]
  
  
Line 410: Line 410:
  
 === In case of HTML banner=== === In case of HTML banner===
-In the example we measure the time when the banner is opened. We use the ’openTime’ measure for this.+In the example we measure the time when the banner is opened. We use the ’Time’ measure for this.
 Start of the time measure: Start of the time measure:
 <code javascript>​ <code javascript>​
 // We send a message to the top window running Goa3, then indicate ​ // We send a message to the top window running Goa3, then indicate ​
 // the calling measure // the calling measure
-window.top.postMessage('​[zone].measure.openTime.start',​ '​*'​);​+window.top.postMessage('​[zone].measure.Time.start',​ '​*'​);​
 </​code>​ </​code>​
  
Line 423: Line 423:
 // We send a message to the top window running Goa3, then indicate ​ // We send a message to the top window running Goa3, then indicate ​
 // the calling measure // the calling measure
-window.top.postMessage('​[zone].measure.openTime.stop',​ '​*'​);​+window.top.postMessage('​[zone].measure.Time.stop',​ '​*'​);​
 </​code>​ </​code>​
  
 === In case of markup banner === === In case of markup banner ===
  
-In our example the structure of the time measure called ’openTime’ is available in the following form after requesting the zone data.+In our example the structure of the time measure called ’Time’ is available in the following form after requesting the zone data.
  
 <code javascript>​ <code javascript>​
Line 440: Line 440:
    
         measures: {         measures: {
-            ​openTime: {+            ​Time: {
                 start: function () {...},                 start: function () {...},
                 stop: function () {...},                 stop: function () {...},
Line 449: Line 449:
 </​code>​ </​code>​
  
-In the example we measure the time when the banner is opened. We use the ’openTime’ measure for this.+In the example we measure the time when the banner is opened. We use the ’Time’ measure for this.
 Start of the time measure: Start of the time measure:
 <code javascript>​ <code javascript>​
 // Starting the time measure. // Starting the time measure.
-goAdverticum3.getZone([zone]).measure.openTime.start();+goAdverticum3.getZone([zone]).measure.Time.start();
 </​code>​ </​code>​
  
Line 460: Line 460:
 <code javascript>​ <code javascript>​
 // Stopping the time measure. // Stopping the time measure.
-goAdverticum3.getZone([zone]).measure.openTime.stop();+goAdverticum3.getZone([zone]).measure.Time.stop();
 </​code>​ </​code>​
 ==== Volume measure ==== ==== Volume measure ====
creatives/html-en.txt · Last modified: 2018/06/12 11:34 by zkocsis