facebook Twitter RSS Feed YouTube StumbleUpon

Home | Forum | Chat | Tours | Articles | Pictures | News | Tools | History | Tourism | Search

 
 


Go Back   BanglaCricket Forum > Miscellaneous > Support

Support Help & Support

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 15, 2006, 05:28 AM
Shafin's Avatar
Shafin Shafin is offline
Cricket Legend
 
Join Date: January 31, 2006
Location: Vagabond
Posts: 3,015
Default test



Server time clock



Server time ticking clock v2.0


Bugs fixed:


1. Replaced setTimeout with setInterval. The setTimeout loop in v1.0 had in place will cause recursion to eat memory.

2. I optimized the second++ logic that ripples through the minutes and hours.

3. I combined the logic on seconds, minutes, hours for making 2 digits into a function call.

4. I made the seconds,minutes,hours vars global so they can easily work with the setInterval

5. Greatly reduced the delay between client time and server time due to the complex loop in v1.0 (Special thanks to js-x.com)



The experimental server time is:


















Scripts.com - Get the best scripts NOW!

__________________
The connection to the server was reset while the page was loading.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On



All times are GMT -5. The time now is 02:13 PM.



Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
BanglaCricket.com
 

About Us | Contact Us | Privacy Policy | Partner Sites | Useful Links | Banners |

© BanglaCricket