phpAdsNew | ![]() |
3.1.2 | Remote Invocation | |||||
To use multiple banners on a single page, select a unique name for each banner and assign it to the "n" argument for both "adclick.php" and "adview.php". This way phpAdsNew can keep track of which AdView belongs with which AdClick. You can configure adview.php with the following parameters: what, clientID and source. Remote Invocation does have some limitation, for example: cookies must be enabled and HTML banners won't work at all. It is recommended to use Remote Invocation as a fallback instead of the main method of displaying banners.
| ||||||
3.1.3 | Remote Invocation for iframes | |||
The following parameters can be used in combination with Remote Invocation for iframes: what, clientID, target, source, withText and refresh.
| ||||
3.1.4 | Remote Invocation with JavaScript | |||||
You should also add parameters to adjs.php. The following parameters are compatible with Remote Invocation with JavaScript: what, clientID, target, source and withText.
| ||||||
3.1.5 | Combining the different types of Remote Invocation | |||
The example above will try to use iframes when possible, but if the browser doesn't support iframes it will try to use remote invocation with JavaScript If the browser doesn't support JavaScript or JavaScript is turned off, the browser will use normal remote invocation. If you decide to use such a construction please note you need to specify the parameters for each type of invocation (adframe.php, adjs.php and adview.php).
| ||||