When creating a dialog box campaign type in RTP, you can set up the length of time (in seconds) the dialog box will display.
The provided options include: 5, 10, 30, 60 seconds or Never which means the dialog box displays until clicked on.
To customize the timeout and set it to any duration you want, see the following:
<script> (function(){ setTimeout(function(){ AITag.jQuery('#trwDialog').dialog('close'); }, 1000*
15 //seconds
);}()) </script> |
By default this JavaScript will add 15 seconds timeout to your campaign, you can change it to any duration you want by editing the code.
Also see: Triggering RTP Campaigns with a Delay