[thelist] for loop, array and mouseover teazer

Mark Groen evolt at markgroen.com
Thu Sep 6 16:40:14 CDT 2007


On Thursday 06 September 2007 12:36, Chris Price wrote:
> ........
> function() { changeBall(ball_id_array[count],ballPark); return false }
> count gets returned as 7 every time.
>
> I can't work out what I'm missing here.

Arrays start at "0" [0,1,2,3,4,5,6] so you have seven items but are not 
referencing the first ball_object_array[0]

Helps?
-- 
cheers,

        Mark



More information about the thelist mailing list