Web Development with jQuery®

(Elliott) #1

(^340) ❘ CHAPTER 13 SORTABLE
the sortable children are the

  • elements contained within that element. The sortable functionality
    offered by the Sortable plugin works in all modern browsers: IE, Firefox, Safari, and Opera.
    The following example puts the concept of sortability into context with a real-world-oriented appli-
    cation, where you sort fi les through a GUI interface, which you might use in a Content Management
    System (CMS), to control things such as sorting links in a sidebar or drop-down menu, or the order
    in which products appear in a catalog. You’ll also return to this example throughout this chapter to
    examine other aspects of fi le sorting that jQuery UI provides through its Sortable plugin. You begin
    with the following HTML, which appears as Example 13-1 in the source materials available at
    http://www.wrox.com/go/webdevwithjquery.
    <!DOCTYPE HTML>




    content='application/xhtml+xml; charset=utf-8' />

    Sortable






  • ← Previous
    Free download pdf