Results 1 to 2 of 2

Thread: display code after x amount of minutes

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    May 2009
    Posts
    876

    display code after x amount of minutes

    Hi there, Guys im creating a points system on my wesbite - so far so good! A way users can earn points is by staying on the radio listen page for longer than 10 minutes.

    Is there a way that i can make a code display after 10 minutes of them being on the page?


    So when they first go on the page, it will be blank. But after 10 minutes it will display my html code)


    But without the user having to refresh the page e.t.c ?

    Thanks,

    Jamie!

  2. #2
    PowerPoster
    Join Date
    Sep 2003
    Location
    Edmonton, AB, Canada
    Posts
    2,629

    Re: display code after x amount of minutes

    you'll have to look into using JavaScript and AJAX. PHP can do the recording part, but you must use JavaScript to do what you're asking for (since it all deals with the client). check out this forum.
    Like Archer? Check out some Sterling Archer quotes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width