L
laredotornado
Hi,
I have ten DIVs on my page, with IDs "e1" ... "e10". These DIVs can
get moved around on the screen in the course of the page interaction.
However, at a certain point, I would like to be able to sort where the
DIVs are currently positioned, using the top left coordinate as the
reference point, sorting from lowest "x" position to highest, and in
the case of a tie, sorting from lowest "y" position to highest.
Any ideas on an efficient way to do this?
Thanks, - Dave
I have ten DIVs on my page, with IDs "e1" ... "e10". These DIVs can
get moved around on the screen in the course of the page interaction.
However, at a certain point, I would like to be able to sort where the
DIVs are currently positioned, using the top left coordinate as the
reference point, sorting from lowest "x" position to highest, and in
the case of a tie, sorting from lowest "y" position to highest.
Any ideas on an efficient way to do this?
Thanks, - Dave