Affiliate Marketing
Forum Search

Reply
 
LinkBack Thread Tools Display Modes

  #1 (permalink)  
Old 23-09-06
John Jupp's Avatar
The New 'Arfur Daley
 
Join Date: Mar 2004
Location: Kent UK
Posts: 2,352
Thanks: 34
Thanked 40 Times in 30 Posts
John Jupp is an unknown quantity at this point
  Banner Rotation Script?

Hi

Has anyone got a banner rotation script I can insert onto a webpage?

I'm looking at rotating about half a dozen banners not affiliate linked or affiliate banners from multiple networks rather than one network. All the banners will be in a separate folder for the script to draw from.

Cheers

John
__________________
Read Our Blog, London/New York/San Francisco Affiliate Program Management - Contact Us
My Contact Details: Terrasip: 21100004227 @ terrasip.net Skype: john_jupp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 23-09-06
THiNK's Avatar
Just THiNK about it!
 
Join Date: Apr 2006
Location: Dorset, UK
Posts: 196
Thanks: 0
Thanked 0 Times in 0 Posts
THiNK is an unknown quantity at this point
Not sure what server you have so here is a Javascript one that will do what you need.

Code:
<script language="JavaScript">
<!--
function random_imglink(){
  var myimages=new Array()
  //specify random images below. You can have as many as you wish
  myimages[1]="img1.gif"
  myimages[2]="img2.gif"
  myimages[3]="images/img3.gif"

  //specify corresponding links below
  var imagelinks=new Array()
  imagelinks[1]="http://www.google.com"
  imagelinks[2]="http://www.msn.com"
  imagelinks[3]="http://www.yahoo.com/somedir"

  var ry=Math.floor(Math.random()*myimages.length)

  if (ry==0)
     ry=1
     document.write('<a href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
}

  random_imglink()
//-->
</script>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 23-09-06
John Jupp's Avatar
The New 'Arfur Daley
 
Join Date: Mar 2004
Location: Kent UK
Posts: 2,352
Thanks: 34
Thanked 40 Times in 30 Posts
John Jupp is an unknown quantity at this point
Many thanks. I use Linux. This'll do fine.
__________________
Read Our Blog, London/New York/San Francisco Affiliate Program Management - Contact Us
My Contact Details: Terrasip: 21100004227 @ terrasip.net Skype: john_jupp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 23-09-06
Paul Wright's Avatar
Fishboy
 
Join Date: Jan 2005
Location: London
Posts: 1,657
Thanks: 5
Thanked 8 Times in 4 Posts
Paul Wright is an unknown quantity at this point
If you're looking to monitor any kind of statitics, add banner weighting, set up banner zones, provide client log in then you might want to look at http://phpadsnew.com/two/ which is also free.

Cheers
Paul.
__________________
Paul Wright | Affiliate Marketing Director | Mediaedge:cia
e: paul.wright@mecglobal.com | t: 0207 803 2976 | m: 07834 697 130
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #5 (permalink)  
Old 23-09-06
Registered User
 
Join Date: Jun 2006
Posts: 95
Thanks: 0
Thanked 0 Times in 0 Posts
IntervisionMedia is an unknown quantity at this point
If you want a very simple serverside solution (php) you could just do:

Code:
<?php
    // create array to store banners
    $banners = array();

    // add banners
    $banners[] = "code for banner 1";
    $banners[] = "code for another banner";
?>
Then when you want to place a banner:

Code:
    <?php print($banners[rand(0, count($banners)-1)]); ?>
That will randomise the banner on each page load. Works great if you just want a very simple, transparent solution.

Hope it helps,
Matthew
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 23-09-06
John Jupp's Avatar
The New 'Arfur Daley
 
Join Date: Mar 2004
Location: Kent UK
Posts: 2,352
Thanks: 34
Thanked 40 Times in 30 Posts
John Jupp is an unknown quantity at this point
All of you are too kind. Many thanks for the assistance. I'll integrate this tomorrow.
__________________
Read Our Blog, London/New York/San Francisco Affiliate Program Management - Contact Us
My Contact Details: Terrasip: 21100004227 @ terrasip.net Skype: john_jupp
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 23-09-06
Registered User
 
Join Date: Oct 2005
Posts: 426
Thanks: 0
Thanked 0 Times in 0 Posts
Nosmo_King is an unknown quantity at this point
Quote:
Originally Posted by Paul Wright View Post
If you're looking to monitor any kind of statitics, add banner weighting, set up banner zones, provide client log in then you might want to look at http://phpadsnew.com/two/ which is also free.

Cheers
Paul.
I have two big phpadsnew installs running and it's the dogs b*$llicks. However, I've started to play with ad blocking software and I'm having second thoughts. Curse you Norton Internet Security
__________________
Travel Domains for sale: luxuryhotelparis.co.uk italytravelguide.co.uk bettertravel.co.uk america-flights.co.uk bargainairline.co.uk costaricahotel.co.uk hotelsintallinn.co.uk
Pm me for prices.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #8 (permalink)  
Old 24-09-06
Ste's Avatar
Ste Ste is offline
It's a hard life .....
 
Join Date: Apr 2004
Location: Lancashire
Posts: 607
Thanks: 0
Thanked 0 Times in 0 Posts
Ste is an unknown quantity at this point
Its the size of the banners that Norton is blocking, when adding a banner, use irregular banner sizes or just change the standard banner sizes by 1 pixel, so they are not one of the standard sizes.
__________________
A World of Poker - Its the Nutz! www.aworldofpoker.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
easy peasy banner rotation script required Elaine Widgets, Coding, AJAX, PHP - Technology & Affiliate Marketing 5 10-12-05 06:29 PM
Problem with DGM2 links to migrated programs Rich DGM Affiliates 21 21-10-05 12:52 PM
Advice on getting started greybeard The Affiliate Marketing Lounge 9 30-12-04 01:41 AM
Java Script Banner or html banner ? Vrindavan Widgets, Coding, AJAX, PHP - Technology & Affiliate Marketing 1 24-02-04 01:22 PM
Banner rotation - bizarre behaviour 1Lit com TradeDoubler 3 27-03-03 07:11 AM


Affiliate Marketing RSS Feeds - Contact Us - Affiliate Marketing - Archive - Privacy Statement - Top

Content Relevant URLs by vBSEO 3.2.0 RC7