Auto-reload for ads. I need Help! Anyone?

Discussion in 'PHP' started by hakzona, May 30, 2010.

  1. #1
    Hello,

    Can someone please suggest me how i can make ads reload script. I mean script that reloads ads not webpage. I've seen on some pages that ads reload automatically after some period of time. For example http://www.movshare.net/video/xmjf3ox1qfawl

    I have website that running on wordpress.
     
    hakzona, May 30, 2010 IP
  2. abstractworld

    abstractworld Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can use AJAX to load ads after some interval
    You will just send an AJAX call after a specific interval...AJAX will query the php page to get the updated content of ads and update the ads location with it...
     
    abstractworld, May 30, 2010 IP
  3. roopajyothi

    roopajyothi Active Member

    Messages:
    1,302
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #3
    We can just use Page reload in JS else Ajax Reload to do a reload so silently!
     
    roopajyothi, May 31, 2010 IP
  4. hakzona

    hakzona Member

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    45
    #4
    Well. That is what i was thinking about. Is there any codes you have or maybe plugin for wordpress that does things like that?
     
    hakzona, May 31, 2010 IP
  5. abstractworld

    abstractworld Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    you can check w3schools for ajax tutorial...that will help you alot.
    Here is the link:
    http://www.w3schools.com/ajax/ajax_examples.asp
     
    abstractworld, Jun 1, 2010 IP
  6. abstractworld

    abstractworld Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    oh and as far as WP plugin thing is concerned check there plugin section you will find some ad rotator plugin. This kind of thing is called Ads Rotator...you can search it in their plugins section...
     
    abstractworld, Jun 1, 2010 IP