Steps – Google DoubleClick Build.Guide User Manual
Page 3

CSS.
7.
.
O
n click to show button from Flash, do the following :
>
.
E
xternalInterface call should be made to JavaScript to expand.
>
.
J
avaScript should resets cookie value to expanded.
>
.
R
ich media Flash unit should be set to expanded 970x250 state.
>
.
F
ull Billboard creative assets should be loaded into ad tag through Flash parent file.
>
.
A
d unit div dimensions should be defined to 970x250 through CSS.
Steps
.
H
TML close button solution will only trigger an ad request and impression increment on first visit to the page and any
subsequent visits when last page visit was set to the expanded state. Visibility defaults to the full Billboard execution on
first visit of the day, while setting a cookie with the current state, expiring at midnight. On subsequent visits to the page,
users will receive either the full Billboard or the (un)branded show button, depending on the state they last selected.
Show button exists within the HTML page content.
1.
.
H
TML page completes load.
2.
.
J
avaScript function is called to check for cookie existence and value.
3.
.
I
f cookie does not exist, do the following :
>
.
J
avaScript should set cookie with value of expanding, expiring at midnight.
>
.
A
d unit div dimensions should be defined to 970x250 through CSS.
>
.
S
how ad button div display should be hidden through CSS.
>
.
I
frame should be created dynamically with JavaScript and appended to ad unit div.
>
.
A
d tag should be loaded into iframe (impression +1) with JavaScript.
If cookie does exist and is set to expanded, do the following :
>
.
S
how ad button div display should be hidden through CSS.
>
.
A
d unit div dimensions should be defined to 970x250 through CSS.
>
.
I
frame should be created dynamically with JavaScript and appended to ad unit div.
>
.
A
d tag should be loaded into iframe (impression +1) with JavaScript.
If cookie does exist and is set to collapsed, do the following :
>
.
I
mage should be appended to show button div with JavaScript.
>
.
S
how button div display should be set to visible through CSS.
>
.
S
how button div dimensions should be defined to 300x31 through CSS.