Pop under class allows you to implement pop under advertising to your website.
You can customize probability of ads to appear, time for how long to show advertisement. It is possible to add multiple advertisments, each advertisment will have same probability of appearing in pop under.
There is also an option to mark users who saw advertisement for specified period of time, so they won't be bothered with pop under advertisements during that specified period.
Example scripts provided with package in action:
|Method name||new popunder(config)|
|Description||Create popunder instance|
json config - chart configuration:
|Method name||add(link, title, id)|
|Description||Add advertisment to pop under which might appear to visitor. The values you provide here will be passed to a callback functions, so you\'ll know which of all advertisments was showed to visitor|
string link - link to a website
string title - Title of advertisment
string id - identifier for an advertisment, for you to keep track of which advertisments showed up
|Description||Invokes method which calculates a chance if advertisment should appear using probability provided in configuration|
- 29. March, 2012 - Added option to configure force redirection and provide link to open in new window
You may also be interested in:
Powered by BlogAlike.com