WallpaperAd

Wallpaper ad

Define functions called by wallpaper ad units for displaying background images

Source:

Methods

(inner) positionAdPanels()

Source:

Make wallpaper ad panels sticky / non-sticky

(inner) setWallpaperStyle(style)

Source:

Add wallpaper flag to contain body element in fixed width

Parameters:
Name Type Description
style string

optional css style applied to body tag

(inner) showWallpaper(image, background, attachment)

Source:

Search for any sticky ad elements and bind click and ad complete events

Parameters:
Name Type Description
image string

url of wallpaper creative

background string

colour hex value in a string

attachment boolean

true if background should be fixed