Preserved Topic: rollovers don't work all??? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 08-16-2000 04:01
Ok here is my problem: |
Maniac (V) Inmate From: under the bed |
posted 08-16-2000 06:08
I'm no expert by any means, but I'm thinking i may have something to do with the fact that you list 10 names, but only 8 images. Just a possiblity. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-16-2000 18:26
No biggie your numbering is just a bit off. Just to be clear the first number in the swap function is the image to change according to the names array (Starting at "0") so since you only have done this for four buttons the first number should not be higher than 3 (0,1,2,3) here is the correct chunk of code: |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 08-16-2000 21:01
Thanks bitdamaged i really thought that the first number was from the images aray.. |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 08-17-2000 01:48
Dammn... |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-17-2000 02:03
Heh, you put parentheses instead of brackets in the buttons array (buttons(8) instead of buttons[8] |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 08-17-2000 02:29
mmmmm Shame on me....... |
Maniac (V) Mad Scientist From: :morF |
posted 08-26-2000 15:55
Hey...don't feel bad over mistakes like that...anyone can make them. I've seen big level programs spend weeks pouring over and reverse engineering their code all because one bracket was missing or one inverted comma was to early in a statement. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 08-28-2000 19:28
No kidding I was just woking on a little site for work and the goddamn tables wouldn't line up right. Ended up I had spelled CELLPADDING wrong so the thing was defaulting to 2px. Bugged the shit out of me for days. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-28-2000 20:02
Something that might have helped avoid that, bitdamaged, is one little thing I do whenever my tables mess up... set the border="1", just for a minute, so that you can see what's going on with the cells. Maybe that's something everyone does, maybe not. It's helpful, in any case. |