|
|
Subject:
Simple Java Script Help
Category: Computers > Programming Asked by: ry_guy-ga List Price: $20.00 |
Posted:
12 Apr 2006 09:16 PDT
Expires: 12 Apr 2006 15:19 PDT Question ID: 718190 |
I need a piece of JavaScript that delays a web page from being rendered for 5 seconds. I'm a PhD student that is studying the effects of download delay so I'm artificially trying to create it. |
|
There is no answer at this time. |
|
Subject:
Re: Simple Java Script Help
From: boggbee-ga on 12 Apr 2006 10:02 PDT |
<script language="javascript"> function wait5() { d = new Date(); var c = null; do { var c = new Date(); } while(c-d < 5000); } wait5(); </script> didn't try it out, though should work. |
Subject:
Re: Simple Java Script Help
From: ry_guy-ga on 12 Apr 2006 12:30 PDT |
It works |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |