HEAD
OUTPUT BUFFERING
ABOVE HEADER

Press enter to see results or esc to cancel.

BEFORE POST

Sticky ads, animations and close button

[(]1008 words BEFORE CONTENT 1008 words[)]
[(]97 words[)]BEFORE PARAGRAPH 1[(]97 words[)]

PRO This page demonstrates Ad Inserter Pro sticky ads with placeholders. Displayed are ads that stick to the screen (left and right side), ads that stick to the content (left and right side), sticky ads that scroll with the page, top and bottom sticky ads, centered popup ad and few animation examples that trigger when you scroll down the page – some animations are configured to trigger only once. Make sure you test on desktop browser with display wide enough so all ads will be displayed. Top, bottom and popup ads are displayed also on mobile screens.

AFTER PARAGRAPH 1
[(]13 words[)]BEFORE PARAGRAPH 2[(]13 words[)]

For each sticky ad there are many settings which are divided into three sections:

AFTER PARAGRAPH 2
  • Horizontal position
  • Vertical position
  • Animation
[(]0 words[)]BEFORE PARAGRAPH 3[(]0 words[)]

[(][)]BEFORE IMAGE 1[(][)]
ad inserter sticky settings
AFTER IMAGE 1

AFTER PARAGRAPH 3

Horizontal position

[(]12 words[)]BEFORE PARAGRAPH 4[(]12 words[)]

Horizontal position defines how sticky ad is positioned horizontally. Available options are:

AFTER PARAGRAPH 4
  • Stick to the left
  • Stick to the content left
  • Center
  • Stick to the content right
  • Stick to the right
[(]0 words[)]BEFORE PARAGRAPH 5[(]0 words[)]

[(][)]BEFORE IMAGE 2[(][)]
ad inserter sticky horizontal position
AFTER IMAGE 2

AFTER PARAGRAPH 5
Stick to the content left
[(]77 words[)]BEFORE PARAGRAPH 6[(]77 words[)]

This alignment displays ad next to the left edge of page content (as sidebar) – it also overlaps any content there. Next to the alignment selection you can optionally enter horizontal margin in pixels. Page content width is in most cases automatically calculated and it is assumed that the content is centered horizontally. In the case the page width is not properly calculated you can manually define main content element with CSS selector or width in pixels (tab 

[(][)]BEFORE IMAGE 3[(][)]
⚙
AFTER IMAGE 3
 / tab General).

AFTER PARAGRAPH 6
Stick to the content right
[(]73 words[)]BEFORE PARAGRAPH 7[(]73 words[)]

This alignment displays ad next to the right edge of page content (as sidebar) – it also overlaps any content there. Next to the alignment selection you can optionally enter horizontal margin in pixels. Page content width is automatically calculated and it is assumed that the content is centered horizontally. In the case the page width is not properly calculated you can manually define main content element with CSS selector or width in pixels (tab 

[(][)]BEFORE IMAGE 4[(][)]
⚙
AFTER IMAGE 4
 / tab General).

AFTER PARAGRAPH 7
Stick to the right
[(]29 words[)]BEFORE PARAGRAPH 8[(]29 words[)]

This alignment displays ad next to the right screen edge – it overlaps any content there. Next to the alignment selection you can optionally enter horizontal margin in pixels.

AFTER PARAGRAPH 8

Vertical position

[(]12 words[)]BEFORE PARAGRAPH 9[(]12 words[)]

Vertical position defines how sticky ad is positioned vertically. Available options are:

AFTER PARAGRAPH 9
  • Stick to the top
  • Center
  • Scroll with the content
  • Stick to the bottom
[(]0 words[)]BEFORE PARAGRAPH 10[(]0 words[)]

[(][)]BEFORE IMAGE 5[(][)]
ad inserter sticky vertical position
AFTER IMAGE 5

AFTER PARAGRAPH 10
Stick to the top
[(]43 words[)]BEFORE PARAGRAPH 11[(]43 words[)]

This alignment displays ad next to the top screen edge – it overlaps any content there. Next to the alignment selection you can optionally enter vertical margin in pixels. The ad stays fixed there – it doesn’t move when the page is scrolled.

AFTER PARAGRAPH 11
Center
[(]12 words[)]BEFORE PARAGRAPH 12[(]12 words[)]

This alignment displays ad centered vertically – it overlaps any content there.

AFTER PARAGRAPH 12
Scroll with the content
[(]34 words[)]BEFORE PARAGRAPH 13[(]34 words[)]

This alignment scrolls ad with the page. It stays fixed relative to the page (you can optionally define vertical margin in pixels) and when the page is scrolled the ad is scrolled with it.

AFTER PARAGRAPH 13
Stick to the bottom
[(]43 words[)]BEFORE PARAGRAPH 14[(]43 words[)]

This alignment displays ad next to the bottom screen edge – it overlaps any content there. Next to the alignment selection you can optionally enter vertical margin in pixels. The ad stays fixed there – it doesn’t move when the page is scrolled.

AFTER PARAGRAPH 14

Stick to the content

[(]82 words[)]BEFORE PARAGRAPH 15[(]82 words[)]

Stick to the content horizontal position displays ads next to the left or right edge of page content (as sidebar). In most cases the plugin will automatically calculate page content width (assuming that the content is centered horizontally) and position ads automatically. However, some themes may require to define main content element manually. For this go to tab 

[(][)]BEFORE IMAGE 6[(][)]
⚙
AFTER IMAGE 6
 / tab General and define Main content element. You can enter either CSS selector (#id or .class) of the main (outermost) page element or content width in pixels (numerical value only).

AFTER PARAGRAPH 15

Animation

[(]0 words[)]BEFORE PARAGRAPH 16[(]0 words[)]

[(][)]BEFORE IMAGE 7[(][)]
ad inserter sticky animation settings
AFTER IMAGE 7

AFTER PARAGRAPH 16
[(]35 words[)]BEFORE PARAGRAPH 17[(]35 words[)]

Sticky ads can be displayed when the page is scrolled to some position, after some delay or when the page is loaded. You can also define an effect (animation) to show or hide the ad.

AFTER PARAGRAPH 17
[(]6 words[)]BEFORE PARAGRAPH 18[(]6 words[)]

The following animations (effects) are available:

AFTER PARAGRAPH 18
  • Fade
  • Slide
  • Slide and Fade
  • Turn
  • Flip
  • Zoom In
  • Zoom out
[(]31 words[)]BEFORE PARAGRAPH 19[(]31 words[)]

For each horizontal and vertical alignment the plugin will select optimal animation direction. Some animations are not available with all positions. In such cases the plugin will choose the best alternative.

AFTER PARAGRAPH 19
[(]7 words[)]BEFORE PARAGRAPH 20[(]7 words[)]

Each animation has the following additional parameters:

AFTER PARAGRAPH 20
  • Animation trigger
  • Trigger offset
  • Trigger delay
  • Trigger only once
Animation trigger
[(]5 words[)]BEFORE PARAGRAPH 21[(]5 words[)]

The following triggers are available:

AFTER PARAGRAPH 21
  • Page loaded – The animation starts when the page is loaded.
  • Page scrolled (%) – The animation starts when the page is scrolled for the defined percentage (specify only numerical value from 1 to 100).
  • Page scrolled (px) – The animation starts when the page is scrolled for the defined number of pixels (specify only numerical value).
  • Element visible – The animation starts when specific HTML element becomes visible. Specify CSS selector for the element (#id or .class).
Trigger offset
[(]22 words[)]BEFORE PARAGRAPH 22[(]22 words[)]

This is additional offset in pixels that is taken into account when the animation is triggered (positive and negative values are possible).

AFTER PARAGRAPH 22
Trigger delay
[(]25 words[)]BEFORE PARAGRAPH 23[(]25 words[)]

This value defines delay of animation (in milliseconds) after the trigger event. To simply show sticky ad with a delay set animation to Fade and define delay.

AFTER PARAGRAPH 23
Trigger only once
[(]44 words[)]BEFORE PARAGRAPH 24[(]44 words[)]

Normally the sticky ad will be displayed after the trigger condition occurs and will hide when the condition is not met. Here you can define to trigger animation only once – show the ad and don’t hide it when the page is scrolled back.

AFTER PARAGRAPH 24
Close button
[(]0 words[)]BEFORE PARAGRAPH 25[(]0 words[)]

[(][)]BEFORE IMAGE 8[(][)]
ad inserter sticky close button
AFTER IMAGE 8

AFTER PARAGRAPH 25
[(]49 words[)]BEFORE PARAGRAPH 26[(]49 words[)]

Each ad can have a close button. You can choose one of the four corners where the button will be displayed. The ad will not be displayed until the page is reloaded. This setting is a mirror of the Close button setting on the Misc / Display tab. It is available also here for convenience.

AFTER PARAGRAPH 26
[(]4 words[)]BEFORE PARAGRAPH 27[(]4 words[)]

Close button can be customized

AFTER PARAGRAPH 27
[(]77 words[)]BEFORE PARAGRAPH 28[(]77 words[)]

Please note that Ad Inserter supports another type of sticky ad: sticky (fixed) widgetsSticky widget is a widget that you place in the sidebar and when the page is scrolled down and sticky widget reaches top of the page, sticky widget and all the widgets below stay fixed – they don’t move when the page is scrolled down. Sticky widgets are available also in the free Ad Inserter and are not considered sticky ads as shown on this page.

AFTER PARAGRAPH 28
AFTER CONTENT
POST
AFTER POST
FOOTER
Skip to toolbar
JAVASCRIPT NOT WORKING
POST