| | |||||
| ||||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Feb 2008 Location: TEXAS
Posts: 462
![]() ![]() | How do I make a counter? I want to make a counter that goes up randomly, not a counter that counts hits to a website just a counter that starts at 1 and then say after 5 seconds goes to 2 and then after 12 seconds goes to 3 and just randomly goes up. Any help is appreciated thanks. |
| | |
| | THREAD STARTER #3 (permalink) |
| NamePros Regular Join Date: Feb 2008 Location: TEXAS
Posts: 462
![]() ![]() | Yes that I can put on a website to show users. Its just like the counter that was on the apple homepage that was going up showing how many apps were downloaded until they reached a billion downloads, which was fake. I need one just like that. |
| | |
| | #6 (permalink) |
| DNOA Member Join Date: May 2004
Posts: 5,040
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Look into using a Javascript timer to shoot off after a random amount of seconds then increase a number by 1 each time, it's really easy. You may want to use the setTimeout() function. with a random interval. And here's how to generate a random number: Generating a random number in JavaScript Google won't find exact copy+paste code snippets for you. Sometimes you just have to program a little yourself. |
| | |
| | #10 (permalink) |
| Account Closed Join Date: Jun 2009
Posts: 6
![]() | There are so many free counters are there, that can be installed on each individual pages of the website too, to know the number of visitors in that particular page. Use it with Google analytics too to get very good results. |
| | |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Poker domain. With 44 other extensions taken. Any value? | yapzhanyang | Domain Appraisals | 2 | 06-27-2008 04:14 AM |
| 636 .tv's - Looking for offers, trades, & deals | RPK | .TV Marketplace | 171 | 01-02-2008 12:29 AM |
| 25 New Mobi Names | vikrantjain22 | Dot MOBI | 9 | 04-14-2007 05:34 AM |
| One and Two Word .us/.cc Domains (and a few others) | Brad|E | ccTLD Domains For Sale | 4 | 03-26-2007 09:02 AM |
| Big sale of .info & .biz one-word domains.Bulk discounts | bruno | Domains For Sale - Make Offer | 0 | 06-03-2003 02:47 PM |