Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

simple sortable jquery list

$
0
0

I have a symbol called list_1, inside the symbol are three groups, each group contains a rectangle and a text box labelling them item 1, item 2, item 3. I want these rectangles to be sortable like the default function on the jquery page Sortable | jQuery UI using the code below I am able to drag them but not sort them. Any help or if anyone has made a simple example already I would very much appreciate it.

 

yepnope(
     {
       nope:['js/jquery-ui.min.js'],
       complete: init
     }
);

 

function init() {
     sym.$('list_1').sortable();
}


Viewing all articles
Browse latest Browse all 9897

Trending Articles