PeelDown

1. Banner summary

ID Number: 36H049.
Description: An initial ad resides in the upper right corner of the page. On click, the ad tears down to reveal a full page ad.
Type of a code: ajax, javascript.
Examples: PeelDown on ajax code, PeelDown on javascript code.
Third party tracking: Flash banner preparation for further AdRiver pixel insertion.
Specification: An initial ad resides in the upper right corner of the page. On click, the ad tears down to reveal a full page ad (back page). When the ad fully expands, the advertiser’s content lays over the editorial content—focusing more attention on the marketing message.

2. Banner on a javascript code

2.1. Flash-movie preparation

You should prepare two flash-movies. The first flash-movie is a corner (an initial ad). It measurements should be defined (e.g. 100 x 100 px) and it should be transparent at the whole visible part of a banner.

The first frame of the first flash-movie should contain the following ActionScript:


function go_next () {
   getURL("javascript: ar_gonext();")
   }

On click, the ad tears down to reveal a full page ad (back page). The button element should contain the following ActionScript:


on( release ){
_root.go_next()
}

The second flash-movie is a full page ad. The first frame of the second flash-movie should contain the following ActionScript:


function clk(url) {
	var href = _root.link1;
	if ((typeof (url) != "undefined") && (url != "null")) {
		if (url.toUpperCase().indexOf("HTTP://") == 0) {
			href += escape(url);
		}
	}
	if (_root.target == "_blank") {
		getURL(href, _root.target);
		getURL("javascript: ar_clearall();")
	}
	else {
		getURL("javascript: location.href='"+href+"';");
	}
}
function kill() {
	getURL("javascript: ar_kill();");
}

For click through the advertiser’s site, the button element should contain the following ActionScript:


on( release ){
_root.clk()
}

For click through alternative URL, add it as a parameter:


on( release ){
_root.clk("http://www.example.com")
}

For closing the ad, create a “close” button and attach to the appropriate button element the following ActionScript:


on( release ){
_root.kill()
}

To close the initial ad use the same ActionScript.

To download in flash-movie additional parts (downloaded with banner), you should add name of an additional part to a _root.ar_comppath.
Example:


 _root.ar_comppath + 'flash_name.swf'

2.2. JavaScript preparation

Fill the form below:

Initial ad:

Initial ad width:

Initial ad height:

Full page ad:

Full page ad width:

Full page ad height:

Version of a Flash Player (Flash Player 8 or higher is required):

Block id:

Which attribute use to identify the block:

Hide initial ad after click:

Third party tracking URL:

   

Press the button

   

JavaScript for banner: