Code rotator

Discussion in 'Programming' started by rebrain, Mar 13, 2008.

  1. #1
    Hallo. I am currently searching for a script that does the following:
    - it can be on Java, Dhtml, Ajax etc. I just can't use PHP in my html page.
    - it should rotate some banner codes (after page refresh of on time delay - does not matter.) like Adsense and others.

    I can'T find such a script only the ones that rotete only text or images...

    I also can't use iframes to implement the php-rotator because it not allowing contextual ads to appear correctly (and this is why some of the AdNetworks have forbidden using it with their banners).
    Is there any other way to do the job?
    Regards, Rebrain
     
    rebrain, Mar 13, 2008 IP
  2. Mr.orange

    Mr.orange Peon

    Messages:
    51
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hotscripts.com
     
    Mr.orange, Mar 13, 2008 IP
  3. awatson

    awatson Active Member

    Messages:
    112
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    Well, PHP would be ideal, but if you can't use that I guess you'd have to go with javascipt. I'd try putting all the ads into divs, setting them all to "display: none" in css, then create a javascript to pick one div at random and set it to "display: block" so it appears.
     
    awatson, Mar 13, 2008 IP
  4. rebrain

    rebrain Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for your help.
    awatson: i think that is not a bad idea, but unfortunately I am not good at javascript. It would be awesome if you could give me the link to the ready script or to the good tutorial.
     
    rebrain, Mar 15, 2008 IP