phpAdsNew | ![]() |
4.1.2 | Remote Invocation | |||||
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. Important: To use multiple banners on a single page, you must assign a unique name to each invocation code. It doesn't matter what you use as the unique name as long as you are sure the name is not used by any other invocation code on the same page. You must assign it to the "n" parameter for both "adclick.php" and "adview.php". You need to make sure the same value is assigned to both files. This way phpAdsNew can keep track of which AdView belongs with which AdClick.
| ||||||
4.1.3 | Remote Invocation for iframes | |||
Unfortunately, not all browsers support iframes. However there is a way to use iframes and be certain the banner will be displayed in all browsers. This method is described in the section 'Combined Remote Invocation'.
The following parameters can be used in combination with Remote Invocation for iframes: what, clientID, target, source, withText and refresh.
| ||||
4.1.4 | Remote Invocation with JavaScript | |||||
You can also add parameters to adjs.php. The following parameters are compatible with Remote Invocation with JavaScript: what, clientID, target, source and withText.
| ||||||
4.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). Warning: Combined Remote Invocation doesn't seem to be compatible with IE6. We are working on a solution of this problem.
| ||||