Michael Geary wrote:
> The reason your code doesn't work is that you have a single
"numBackgrounds"
> variable shared throughout all the code. You may increment this in a
loop,
> but then later on when the .click() callback is called,
numBackgrounds has
> already been incremented all the way to 6.
>
> Also your loop should probably start at 1 instead of 5.
Great thanks - can't believe I screwed the loop control up, starting at
5....brain ache moment!
Thanks for all the help, got it sorted out now.
Ed