|
| |
|
|
Guest
|
Webcam problems - 7/14/2001 20:16:00
Hi Im just experimenting with a webcam at the moment and I'm having a problem with the code Im using.If anyone out there understands Javascript then I'd be really gratefull if you could take a look at: http://members.nbci.com/officejunk/cam.htm It displays a picture but as soon as the countdown reaches zero and the page is supposed to refresh I get and error in the bottom left corner of the status bar. Can anyone make any suggestions? Many thanks!
|
|
|
|
Thomas Brunt
Posts: 6109 Joined: 6/6/1998 From: St. Matthews SC USA Status: offline
|
RE: Webcam problems - 7/16/2001 15:42:00
Dont' know the fix, but the problem seems to be here in the code. var camImg = "http://members.nbci.com/_XMCM/officejunk/Ojwebcam.jpg" + "?" + now.getTime(); document.campicture.src = camImg; I don't see why you would need all that. Don't you just want the page to reload when the timer goes off? The image path is always going to be the same, I would think.
|
|
|
|
Guest
|
RE: Webcam problems - 7/17/2001 20:33:00
Hi ThomasAll I want is the image to refresh, not the entire page. Can anyone point me in the right direction (I'm not fussed about countdown timers etc). I'm really struggling to find the code. Thanks for your help!
|
|
|
|
Thomas Brunt
Posts: 6109 Joined: 6/6/1998 From: St. Matthews SC USA Status: offline
|
RE: Webcam problems - 7/18/2001 20:54:00
But refreshing the page will refresh the image.You might want to go searching for a scripting forum or a new script if refreshing the entire page is unacceptable.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|