Activity Stream
48,167 MEMBERS
6746 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 3 of 3
  1.     
    #1
    Member

    Default Fake counter

    Hello,
    I need help with this javascript, i want make fake counter, good example is here https://mail.google.com/



    But i need counter from 0 up to 100.000 and reset every 24h. so after 24. again start with 0...
    milos007 Reviewed by milos007 on . Fake counter Hello, I need help with this javascript, i want make fake counter, good example is here https://mail.google.com/ http://i.imgur.com/7hXXe.png But i need counter from 0 up to 100.000 and reset every 24h. so after 24. again start with 0... Rating: 5

  2.   Sponsored Links

  3.     
    #2
    Respected Member
    Lots of them if you search google. Here is a simple one you can use to create your own. If you want it to count up use + instead of minus on the number.
    Code: 
    <HTML> 
    <HEAD><TITLE>detect and redirect</TITLE> 
    
    <script LANGUAGE="Javascript"> 
    var start=new Date(); 
    start=Date.parse(start)/1000; 
    var counts=10; 
    function countdown(){ 
    var now=new Date(); 
    now=Date.parse(now)/1000; 
    var x=parseInt(counts-(now-start),10); 
    if(document.form1){document.form1.clock.value = x;} 
    if(x>0){ 
    timerID=setTimeout("countdown()", 100) 
    }else{ 
    switch(screen.width) 
    { 
    case 800: goToPage('medres.php'); break; 
    case 1024: goToPage('hires.php'); break; 
    } 
    
    function goToPage(url) 
    
    { 
    document.location.replace(url); 
    alert('your screen setting is '+screen.width+'x'+screen.height+', redirecting for optimal viewing'); 
    
    } 
    } 
    } 
    
    </script> 
    <script LANGUAGE="Javascript"> 
    window.setTimeout('countdown()',100); 
    </script> 
    
    </HEAD> 
    <BODY BGCOLOR="black" > 
    
    <FORM NAME="form1"> 
    In 
    
    <INPUT TYPE="text" NAME="clock" SIZE="2" VALUE="10"> 
    
    seconds the page will auto detect your screen resolution for optimal viewing. If you are NOT redirected, you can view our site by clicking <A href="medres.htm">HERE</A><P> 
    
    </FORM> 
    
    </BODY> 
    
    </HTML>

  4.     
    #3
    Member

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Counter Strike 1.6 Vs Counter Strike Source
    By -zAAz- in forum Polling Plaza
    Replies: 25
    Last Post: 2nd Jul 2011, 12:16 PM
  2. Fake-Status.com -Facebook Fake Statuses
    By EldenTotraku in forum Site Reviews
    Replies: 26
    Last Post: 14th Jun 2011, 06:35 PM
  3. Replies: 34
    Last Post: 6th Feb 2011, 08:48 PM
  4. Counter Strike
    By Hx in forum General Discussion
    Replies: 8
    Last Post: 26th Feb 2010, 05:54 PM
  5. The laziness counter
    By Gat Dat in forum Polling Plaza
    Replies: 10
    Last Post: 6th Sep 2009, 08:19 PM

Tags for this Thread

BE SOCIAL