Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 3.33 KB

specification.md

File metadata and controls

70 lines (51 loc) · 3.33 KB

Specifications for the Inline format - FINN.no

This is the specifications for both the HTML banners and image banners. Inline is an advertising format used across all devices (mobile, tablet and desktop). As for now, HTML is recommended as it will be fully responsive across all screens.

For advertisers and agencies using AdForm, use AdForms specifications under the headline Responsive HTML5.

1. Dimensions

Height and width

  • Banner: always 100% width of is content container, but has fixed height.
    • Currently available formats:
      • Height: 225px, Width: 100%

Size

  • Max 100 kb in compressed state (all files compressed/zipped together).
  • You can use JavaScript libraries like jQuery from Googles CDN service without its size counting against the total size of the ad.
  • Resources loaded after a user interaction does not count against the total size of the ad.

2. Limitations

3. Click counter

You must use the following method when adding clicks to the ad:

<div id="Banner" data-responsive="225h" onclick="window.open('http://www.url.no','new_window');">

4. Default styling of Banner

CSS rules can only be set to classes or IDs. You can not set rules directly to elements like span or div.

The div element should only have the following styling:

display: block; /* browser default */
position: static; /* browser default */
width: 100%;
height: 225px;
cursor: pointer;

Additional styling must be done on a new div/element within that container (ex Banner in the sample below).

<div id="Banner" data-responsive="225h" 
	onclick="window.open('http://www.url.no','new_window');" 
	style="display:block;width:100%;height: 225px;">
    <div style="position:relative;"></div>
</div>  

Read additional styling tips.

5. Third party code

  • Must be sent as JavaScript code

6. Older formats

Many ads today is only a single image adapted i height/width to different formats (mobile and tablet).

As of 26th of August the image banners(PNG/JPEG/GIF) will be produced to fill the whole width and height in portrait, while they will be centered in landscape without scaling. The format size is based on iPhone and iPad.

  • Mobile: 310*225 maks 50 kb
  • Tablet + Desktop: 758*225 maks 100 kb