Glen Lipka wrote:
I dont quite understad how the slice() feature works.
I am assuming this is zero based.
So let's say I had 10 DIVs.
0 1 2 3 4 5 6 7 8 9
What does the first and second number in the parens mean?
Apparently you do not need to have both.
And negative numbers mean something.
Maybe someone could make a demo where you can click 10 check boxes and
it would display the "slice" that represents that selection?
Sorry, I am not familiar with how this works.
Glen
Glen, it's quite well explained here:
http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:slice
--Klaus