Topic awaiting preservation: changing image question! |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: NZ |
posted 06-01-2003 05:10
Hi, guys! How are you? code: <html>
|
Paranoid (IV) Inmate From: everywhere |
posted 06-01-2003 11:31
Sounds like they're using animated gif's, nothing to do with Javascript whatsoever. If you wanted to do it with settimeout, it shouldn't be hard though: code: <script type="text/javascript">
|
Paranoid (IV) Inmate From: NZ |
posted 06-02-2003 04:02
Hi, quisja. many thanks for your reply. code: <html>
|
Paranoid (IV) Inmate From: everywhere |
posted 06-02-2003 10:10
Um, what line is the error on? either I've missed something out in dealing with the image (I don't think so..), or you shouldn't have spaces between your brackets in naming/calling functions: code: function change( ) |
Paranoid (IV) Inmate From: NZ |
posted 06-03-2003 00:43
Hi, thanks for your reply. code: <html>
|
Paranoid (IV) Inmate From: NZ |
posted 06-03-2003 00:45
Oh, error message said: quote:
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-03-2003 01:18
You are mixing what imageOne is. What you want to do is create 2 JS image objects and then replace the src of document.images['imageOne'].src with one of those 2 new images (ignore what is already there that's kinda meaningless once you start changing stuff) |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 06-03-2003 02:52
"object expected" usually means that you typed something that wasn't a variable name, and wasn't a function, and basically the browser couldn't figure out what it was supposed to be. It's saying, it expected an object, but it found something that it doesn't understand. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 06-03-2003 08:10
he's actually missing a closing bracket so his header JS is not getting loaded. |