Preserved Topic: Newbie needs help |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: Austria |
posted 07-29-2000 13:23
Hi folks, |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-29-2000 15:35
Not being a javascript guru, I notice that in line 12 you have a close bracket, and at line 20 you have another end bracket, these two end brackets have only 1 open bracket between them (line 11) |
Maniac (V) Mad Scientist From: :morF |
posted 07-29-2000 15:39
You also might try taking out the line window.onerror=null;, and that should tell you where you are going wrong...I think. I actually know next to nothing about JavaScript, but it seems logical to me. |
Nervous Wreck (II) Inmate From: Austria |
posted 07-29-2000 15:54
WarMage> Thanks but I didn't modify these brackets ... and it doesn't work when I write another open bracket |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
posted 07-29-2000 17:06
Ok, I will give you the open and close brackets have nothing to do with anything. |
Nervous Wreck (II) Inmate From: Austria |
posted 07-29-2000 18:55
Well, I think I did as you said but ... doesn't work at all, so I uploaded the whole page yet ... it is not really finished and I am sure there are loads of mistakes in it .. well, just look yourself |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 07-29-2000 19:53
Hi there! Ok we have this line here: |
Nervous Wreck (II) Inmate From: Austria |
posted 07-29-2000 23:15
Wait, wait, wait ... does this mean I can not make more than two images move? If yes, what do I need to make 4 images move? |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 07-30-2000 22:50
No I think what Doc is trying to say is that you have 4 images you are trying to change. You can then change them with any of the 8 in the second array. so when you put the numbers in the swap function you should not have a number higher than 3 in the first position. Remember an array starts with the 0 position not the 1 so you should have this swap(0-3,0-7) with the first number reffering to the names array and the sencond reffering to the buttons array. |