navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

Webcam problems

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> General Web Development >> Webcam problems
Page: [1]
 
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.


(in reply to Guest)
Guest


 
RE: Webcam problems - 7/17/2001 20:33:00   
Hi Thomas

All 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!


(in reply to Guest)
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.


(in reply to Guest)
Page:   [1]

All Forums >> Web Development >> General Web Development >> Webcam problems
Page: [1]
Jump to: 1





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