These sites are ranked according to visitor traffic. Go ahead and tell us what you feel are the most popular sites. Simply rearrange the order in the list below and hit submit.
This is not going to a database yet but that will come next. I am also testing if you can link straight from the list so be careful about grabbing the text portion of the box.
Sorting isn't just for lists. Here we're sorting divs - some of them even have some complex markup inside them including styling, links, tables, and form elements. In order to style elements other than lists, we need to pass a third argument to the addList function that tells scriptaculous which elements should be draggable.
| First Name: | |
| Nice Demo? | Yes No |
All the examples so far have shown sorting vertically - this one shows horizontal and vertically. It also demonstrates how to pass extra options to the addList method. In this case we passed overlap and constraint settings to scriptaculous. For a list of all the options please see the sortable.create page on the scriptaculous site. The only option that you don't have to pass this way is the 'tag' option.