In all the below codes, subsitute ###x### with the size you have chosen!
For plain .html/.shtml files - will NOT work when the .html file is just used as a template, for eg. forum templates...
<!--#include virtual="adcode?###x###"-->
Adding it to your PHP scripts is easy, and ob_start() friendly...
<? edge_adcode('###','###'); ?>
ONE IMPORTANT THING TO NOTE, is that when using this adcode you cannot use your browser to "Save" the page to disk to work on it, as the adcode is dynamically generated when the page is loaded. If you are having trouble placing the adcode in your site, please visit us on IRC for assistance.
The Generic Raw HTML Code
As a last resort, the below HTML can be placed anywhere and it will print the ad. You must substitute the ###'s for the right iframe size. This is the usual alternative for forum software, hard-to-edit PHP scripts etc. Usage of this code means any serious changes to our adserver may make the code obselete, however it is unlikely we will not build backwards-compatibility. There are other drawbacks, but are not noticable to the viewer.
<!-- edge_adcode() --><iframe src="/.edgenetwork/ad_iframe.x?adx=###x###" width="###" height="###" marginwidth="0" marginheight="0" frameborder="0" bordercolor="000000" scrolling="no" z-index="0" ><script language="javascript1.1" src="/.edgenetwork/ad_js.x?adx=###x###"></script></iframe><!-- end adcode -->
|