3 Replies - 1407 Views - Last Post: 08 August 2005 - 08:30 AM

#1 lukeshumard  Icon User is offline

  • non.coder

Reputation: 0
  • View blog
  • Posts: -4,963
  • Joined: 16-March 02

Ad Banners

Posted 07 August 2005 - 11:06 PM

I created an ad banner for my website. I've set up an array for it to randomly select an ad, but how would I make it link to each website? I know I need a seperate array, but how would I integrate this into the funcion? Thanks!
Is This A Good Question/Topic? 0
  • +

Replies To: Ad Banners

#2 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1813
  • View blog
  • Posts: 20,232
  • Joined: 17-March 01

Re: Ad Banners

Posted 07 August 2005 - 11:10 PM

Can you post the code you've got now so we can see how you're pulling the random item out of the array for the graphic, it should just be a matter of matching the position of the graphic with the position of the URL in 2 arrays and selecting the same element from both arrays... 2 functions.
Was This Post Helpful? 0
  • +
  • -

#3 lukeshumard  Icon User is offline

  • non.coder

Reputation: 0
  • View blog
  • Posts: -4,963
  • Joined: 16-March 02

Re: Ad Banners

Posted 08 August 2005 - 05:38 AM

Megmau actually solved this. Thanks anyways!
Was This Post Helpful? 0
  • +
  • -

#4 skyhawk133  Icon User is offline

  • Head DIC Head
  • member icon

Reputation: 1813
  • View blog
  • Posts: 20,232
  • Joined: 17-March 01

Re: Ad Banners

Posted 08 August 2005 - 08:30 AM

Can you post the code that solved it so when someone visits from google looking for the same answer they can see what fixed your problem. Thanks!!
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1