mootools sortables vs jquery sortables effect -
I've been using mootools for a while and trying to do jQuery for a week so it's probably a Newbie is a question - nothing has been found in the manual.
When you use the Clone option in a sortable list, it creates a clone of your image / object that helps you view the image / object droppad. Will be done - works well on my thumbnail sorting system.
Well, there is only one option in jQuery, clone but when I use it does not work any means, it actually clones the element And what you pull is a clone, but when you drop - it remains the original, where it was first. You can see this behavior on their site with a draggable demo but take a look, you can move it around and when you leave it, then it's right there.
Is this a bad behavior or just how it should be? I can repeat the mootools behavior on my own but even though this would be a standard option ...
Thank you in advance!
It may be that I suppress the panic button soon.
Although there are clearly different views in the frameworks, and I must agree, It is like cloning that works in JQuery is more sensible
However, they may have an option, maybe call it Shadow , repeat what mutes it. However, if you are in a hurry, then I doubt it and want to mute the behavior of mute just do something like this:
$ ('# galery -thumb-list ') .Sortable ({accessory:' clone ', tolerance:' indicator ', start: work (e, UI) {ui.placeholder.html (ui.item.html ()); ui.placeholder. Css ({'visibility': 'visible', 'opacity': 0.1});}}); The first timer is very easy as " clone " and " clone " but deliberately different things are different in different structures.
/ P> Hope this helps anyone!
Comments
Post a Comment