Is there a script for this? I want to rotate google ads with some of mine

Discussion in 'JavaScript' started by newbiesiteguy, Feb 10, 2006.

  1. #1
    What im trying to figure out how to do is twofold.

    First, Im trying to find a script that will display random html docs. I have taken jpgs, inserted them into html docs, then added hotspots to turn them into ads.

    Some guys on DP gave me a script that rotates images, but I didnt know it wouldnt work for html docs.


    Next, I am wondering if I could take the adsense script, save it in an html doc of its own, then paste that url right in to the random html script. Would that work?
     
    newbiesiteguy, Feb 10, 2006 IP
  2. AWD1

    AWD1 Peon

    Messages:
    191
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Depending on how often you want to see your ads, you may want to do something like this:

    <script for Google AdSense>
    ...
    ...
    ...
    </script>
    <noscript>
    A server-side script to rotate your random ads...server-side scripts will still be processed since noscript only applies to client-side scripting.
    </script>
     
    AWD1, Feb 11, 2006 IP
  3. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #3
    I think, I gave You the image rotating script. I can also solve your problem. This will not free this time. PM me
     
    YIAM, Feb 11, 2006 IP
  4. mad4

    mad4 Peon

    Messages:
    6,986
    Likes Received:
    493
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You would need a server side (php) advert rotating script. There are some free ones in the php section of this forum.
     
    mad4, Feb 12, 2006 IP