Hello.
There is a block with N elements and 1 block. It is necessary that when you click on this element, a block moves under it, which currently has the display property: none;
My code moves the block every time after 6 elements: http://jsfiddle.net/Qe9sS/1/
It is necessary that when clicking on the first, second, third element - the block moves under the third, when clicked on the fourth, fifth, sixth - under the sixth, and so on.
In the original version, the elements are arranged in 3 lines per line, that is, approximately in this form:
элемент №1 элемент №2 элемент №3 элемент №4 элемент №5 элемент №6 Thank you in advance.