Format methods
Method | Arguments | Description |
---|---|---|
admixAPI.click(); | string or "" |
method to call the clickthrough; Target URL may be set as a parameter as follows: admixAPI.click('http://yourdomain.com'); also target URL may be set from the Admixer user interface, in such case, there is no need to indicate the target URL directly in JS code |
admixAPI.on('event', callback); | function | HTML5 banner animation starts with a timeout, after the animation of expand is finished. The plugin 'flip' that is responsible for the expand animation has the next events:
showStart
Example:
showEnd hideStart hideEnd
if (data === 'HTML5Event=flip:showEnd') {
animate.play(0);
}
HTML5Event=(plugin):(typeEvent) The animation in example starts with the showEnd event |