Hello. I'm trying to shoehorn a webcam script I took off the internet (www.spotlife.com) into my own personal one. While i'm not familiar with Javascript, I am pretty comfortable with C++, so most of this is familiar to me.
The script isn't working. In IE it says nothing, and in fact, it opens up the folder that the HTML and script are in. In Netscape, it gives me this error:
I can include the whole script if you want to see the rest of it, but it seems like it should work, especially since i didn't change that part from what was in the original script. I understand about pointers in C++, and i assume that this is what the 'new' is all about in Javascript.
also, it doesn't like the new Date().getTime() in any of the lines it's in. I get the same error for all of them. Is there something I have to do to make it happy?
edit: silly formatting errors
The script isn't working. In IE it says nothing, and in fact, it opens up the folder that the HTML and script are in. In Netscape, it gives me this error:
code:<HR>Code:JavaScript Error: file:///C|/webthing v2/webcam6.0.js, line 16:<P>missing ) in parenthetical.<P> var downloadStart = (new Date().getTime()); ..............................^
I can include the whole script if you want to see the rest of it, but it seems like it should work, especially since i didn't change that part from what was in the original script. I understand about pointers in C++, and i assume that this is what the 'new' is all about in Javascript.
also, it doesn't like the new Date().getTime() in any of the lines it's in. I get the same error for all of them. Is there something I have to do to make it happy?
edit: silly formatting errors