Javascript to display content on other sites

Discussion in 'JavaScript' started by sitefever, Jun 1, 2007.

Thread Status:
Not open for further replies.
  1. #1
    Does anyone know of a script or how to write a script for site owners to insert in order to display my rotating ads on their website?

    Right now, you can go to www.ads4trade.com/ads/ads.php and you will see a random text ad. Right now, each website has to insert <?PHP INCLUDE...?>

    For obvious reasons, I need to have some sort of javascript code that they can use instead. Right now I have 11 websites using this code with more on the way if I have javascript they can use instead of PHP. Any help is much appreciated. Thanks.
     
    sitefever, Jun 1, 2007 IP
  2. Mike H.

    Mike H. Peon

    Messages:
    219
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't like to go to unfamiliar sites. What does the php include do?

    Does it create a DIV element, or an IFRAME?

    Post some code. People shouldn't have to go to another site to look for code, don't you agree?
     
    Mike H., Jun 1, 2007 IP
  3. stickycarrots

    stickycarrots Peon

    Messages:
    4,513
    Likes Received:
    115
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would use an iframe. That works well and it's how most ad companies do it (and how I did it).
     
    stickycarrots, Jun 1, 2007 IP
  4. sitefever

    sitefever Banned

    Messages:
    782
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #4
    How would I do that? Do you have any recommendations?
     
    sitefever, Jun 1, 2007 IP
  5. sitefever

    sitefever Banned

    Messages:
    782
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I got the iframe down now. Thanks.
     
    sitefever, Jun 1, 2007 IP
Thread Status:
Not open for further replies.