Good all the time of the day gentlemen.
Imagine a desktop on which icons are aligned not on a grid, and not automatically, but in inconsistency, crooked, as girls usually like to do (I’m not talking about everyone). If there is a kitten on the desktop, then the icons are sure to flow around this kitten)
Now imagine a web page, it has a table, inside it there are several div
's ( ~200х250px
, they have id
p1010
, z200
). Below is Table 2, its size is always different. I want to 'take' div
's (how many are unknown) and alternately drag them onto table 2. And if there already is a div
' s, then there is an opportunity to change their position, if necessary. The result is a 'randomly' located on the div
's page. And here, I want to save their location (I immediately recall ajax, but from ajax I know only the simple ). Remembering the position is eating, but in order to have this table 2, then edit the current divs on it
Can anyone give an example of a code, how can it even be done about it?
ps In many cases, the solutions that are on the hashcode in a simple form are being finalized and no worse than what can be prepared by Google to find, which must first be cut back if you are lucky, and then add. So I want some kind of construction, simple, so that you can penetrate and adjust in your own way.