Profile
Achievement
 
    
                McSodbrenner's Recent Snippets
- All /
 « Prev 1 Next »
This is a more precise version of the native setTimeout(). It uses the same parameters as setTimeout, but adds a third parameter "resolution" which defines how often (in ms) to check for the time that passed.
    // alert after 5 seconds with an i...
        
        
        
            2 
        
        
            1027 
        
                    posted 12 years ago by McSodbrenner