Four images sit on top of each other. The middle two layers also move and change their opacity with the scroll, according to their screen position. The top one is a static transparent image that holds the Call To Action. The bottom is also static, and holds the background image/color.
The middle two layers, “before” and “after” sit under it. By the time the content is scrolled half-way up (the ad is at the middle of the screen), the “before” becomes completely transparent and shows the “after” that sits under it. Both layers also move together with the user’s scroll. Great to demonstrate two interchangeable states – before/after restoration, transformation, with/without product, etc.
#Top(300X250px)
Transparent png containing the call to action, and stays stationary while scrolling. Top layer in layer ordering.
#After(300X250px)
Final state or result of transformation. Fades in as the user scrolls down.
#Before(300X250px)
Initialstate or beginning of transformation. Fades out as the user scrolls down.
#BG(300X250px)
Static background to the layers on top of it.
#Static(300X250px)
A fallback for older devices (below iOS8 or android 4.3) that do not support Cronus.