Wednesday, October 21, 2009

Ads Only

Ads only

just add this code

<div id="outbrain_ao_ext_element" style="display: none;">
<script language="JavaScript">
var OB_multi_MP_url= 'http://webx0.com';
var OB_ads_only = true;
var OB_ads_only_what_is_outbrain_str ="[Ads Only]";
</script>
<script src="http://widgets.outbrain.com/outbrainMP.js" type="text/javascript"></script>
</div>

i will explain :
the Div id - this is wrapped with a dv that will reveal this container if ads exists
the url - we send it to odb and it fetch the source info and ads , you can use feed url
OB_ads_only - true if only ads should appear / false to take it off (if this is the second mp in this page)
OB_ads_only_what_is_outbrain_str - the string to show to the user in the "whats this" link.

No comments:

Post a Comment