Tags: ads, advertisment
Permalink Reply by Eric Suesz on August 31, 2010 at 6:04am
Permalink Reply by Phil - WiredPA on August 31, 2010 at 6:15am
Permalink Reply by Phil - WiredPA on August 31, 2010 at 7:27am
<script type="text/javascript">
function NMZAd_random()
{
// if you add or remove customers change this number from 4 to what you need.
var ranAdNum= Math.floor(Math.random()*4);
return ranAdNum;
}
function getaURL()
{
var whichAdVal=NMZAd_random();
// if you add or remove customers change this number from 4 to what you need. These must start at 0
var AdURL=new Array(4)
AdURL[0]="http://www.cust1domain.com/";
AdURL[1]="http://www.cust2domain.com";
AdURL[2]="http://www.cust3doman.com";
AdURL[3]="http://www.cust4domain.com";
// if you add or remove customers change this number from 4 to what you need. These must start at 0
var NMGAd=new Array(4)
NMGAd[0]="http://xxx.xxx.com/image1.png";
NMGAd[1]="http://xxx.xxx.com/image2.png";
NMGAd[2]="http://xxx.xxx.com/image3.png";
NMGAd[3]="http://xxx.xxx.com/image4.png";
document.write('<div style="padding: 0px 0px;"><a href="'+ AdURL[whichAdVal]+'" target="_blank"><img src="'+NMGAd[whichAdVal]+'" width="170px" height="200px" hspace="0" vspace="0" border="0" align="center"><\/a><\/div>');
}
getaURL()
</script>
Permalink Reply by Gabriel Winnberg on September 1, 2010 at 5:26pm
Permalink Reply by Faiz on August 31, 2010 at 9:24am
Cindy replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
John replied to Patrick Chappelle's discussion 'Google+ Sign In'
Rafael replied to Rafael's discussion 'Multiple Chat rooms for Ning 3.0'
Kos replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'
Aurora Carlson replied to Phil McCluskey's discussion 'Site Manager Updates for Ning 3.0 Networks'© 2013 Created by Ning.
