I have PhpAdsNew rotating Google Adsense and Chitika. But I want it to show a Chitika ad when Google Adsense can't display an ad... How do I do this?
thanks, does it need to be centered or anything like that? i use the iframes invocation (some issues with AJAX)
In your Google Adsense code, add this line google_alternate_ad_url = "http://YOURSITE.COM.com/468default.html"; Create a file named 468default.html and place the chitika code in it then upload it to your server. Use this BODY tag in your default.html file to ensure the ad shows properly
OK, sorry didn't read that GeorgeB. I will try your suggestion if this doesn't work. http://www.gossiprocks.com/alt.php Is the location of the alternative Chitika ad. The code in the alt.php is this (which was generated by phpadsnew, local invocation) <?php if (@include(getenv('DOCUMENT_ROOT').'/phpadsnew/phpadsnew.inc.php')) { if (!isset($phpAds_context)) $phpAds_context = array(); $phpAds_raw = view_raw ('', 8, '', '', '0', $phpAds_context); echo $phpAds_raw['html']; } ?> Code (markup): And the alternative URL is set to http://www.gossiprocks.com/alt.php
Thank you very much, I did not know this and I have searched for such a tip!! I have now tried it and works fine! Thanks. (your Dll-Site is good. Maybe you know a answer of my question? The last post: http://forums.digitalpoint.com/showthread.php?t=36286 )