Qondio
Front
Intel
IntelMart
Shares
My Qondio
Account
weiliang > Intel > Combining more than one contextual ads in one site

qondio.com/6mRi PRINT EMAIL

Combining more than one contextual ads in one site

As you know, there are some contextual ads provider that not allow you to adding another same type ads from other company.

There is a way (I hope so if I don't misreading the policy), that rotating ads displayed. I'm using javascript to achieve it.

Type script below and save it to a file eg. ads.js
/**********************/
var ads = new Array();

/*add your ads here*/
ads[0]="";
ads[1]="";
ads[2]="";

var rnd = Math.round(Math.random()*100);
var total = ads.length;
var disp = rnd % total;

document.write(disp);
/**********************/

In your site, add this code where you want to display the ads.
/************/
<script type="text/javascript" src="ads.js"></script>
/************/

Contributed by weiliang on August 1, 2008, at 6:44 AM UTC.

PLEASE VISIT THE CONTRIBUTOR'S WEBSITE
How To For Idiots
How To About Computers
idiot-howto.blogspot.com

Reactions

No reactions yet.

Rate This Intel

Please login or sign up to rate this intel.

Comments

Please login or sign up to add a comment.

Share

Copyright Notice

The copyright for this content entitled "Combining more than one contextual ads in one site" has been specified by the contributor as:

Public Domain

The copyright for this content has been relinquished by the author. The content may be used freely by anyone.

Login Here with
Any Email Address
Any Password
No account? Sign up.

Intel Contributor
This intel was contributed by weiliang

Qondio Archive
May, 2012
123456
78910111213
14151617181920
21222324252627
28293031


2008
January, February, March, April, May, June, July, August, September, October, November, December
2009
January, February, March, April, May, June, July, August, September, October, November, December
2010
January, February, March, April, May, June, July, August, September, October, November, December
2011
January, February, March, April, May, June, July, August, September, October, November, December
2012
January, February, March, April, May

Sign Up
Not a member yet? Qondio is a powerful network for making it online. If you have a website to promote, we can help. Sign up and get in on the action.

About Qondio
Welcome to Qondio! Discover the awesome power this network can deliver by going to our About page. Or you could skip straight to the Sign Up form.

ABOUT
SUCCESS GUIDE
FEATURES
FAQ
ADVERTISE
CONTACT
USAGE POLICY
PRIVACY POLICY


TWITTER
FACEBOOK