Love Solves Everything So Simple     

20 March, 2013. Another name for this could be "Hearts Dappery" or "Hearts Dapplery", because clearly this is dapplery. But I do not title this that. It is titled "Very Many Hearts"

This demo is revealing. Study what I have here if you want to learn about jQuery's quasi-useful draggable. I am showing two different ways to do this. The first way is the waay taht the jQuery UI demo tutorial pages show how to do things. The second is a newer, terse, idiom utilizing class Anonymous

I did not get these things to work without a lot of hacking and learning. However, there are still a lot of things to learn about this.

JQuery class draggable is always presented with wrappers for the image. The image is wrapped in a div. The div is given a style. Neither of these things are necessary to make the draggable work. What seems to have been needed (and further hacking might prove me wrong, and that would be a good thing) is that the img node need to have a proper node ender, not the conventional back-slash before the final bracket. As I said, further experimentation may prove me wrong but:

<img class=". . . . .0);"></img>

seems to work but

<img class=". . . . .0);"/>

does not seem to work. What does that mean? It means that the idiom can be a lot more terse. The objects can be automatically spawned by other objects to create piles of images on a page. Pretty cool really.

Both idioms are useful. The effect when one wraps with a div is that the item has an anchor point at it's corner. This div is a 'flurish' of sorts. But it is a necessary part becuase that is where the UI stuff can be (if you were going to have a panel that would give you control, as a user, of this object). But why does one need such a panel? I suppose that one can have many purposes for such a panel. Just for doing layout and animation that kind of a panel might actually just add nodes and make things far more complicated than they need to be. The extra level of rotation is a useful part, though. That extra hook is useful and does allow for some other possibilities for the use of the effect. I know I am being vauge. This stuff is new, in one sense, but very old to me in another sense. Why? Because as a software engineer I have done animations since the beginning of my career. Now the tools make it very very easy. I still don't have my sea legs with this new tchnoogy and do not have a proper sequencer yet. does anyone know of one?

Please proceed to the next demo: Big Picture tamed.

contact3.php
Amillia Publishing Company Advertisement  ©