![]() Topic awaiting preservation: changing image question! (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: NZ |
![]() Hi, guys! How are you? code: <html>
|
Paranoid (IV) Inmate From: everywhere |
![]() 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 |
![]() Hi, quisja. many thanks for your reply. code: <html>
|
Paranoid (IV) Inmate From: everywhere |
![]() 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 |
![]() Hi, thanks for your reply. code: <html>
|
Paranoid (IV) Inmate From: NZ |
![]() Oh, error message said: quote:
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() 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 |
![]() "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 |
![]() he's actually missing a closing bracket so his header JS is not getting loaded. |