|
-
Jan 8th, 2011, 05:47 PM
#1
Thread Starter
Fanatic Member
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!
-
Jan 9th, 2011, 11:49 PM
#2
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|