Docs Home

@File: /surebert/widget/sortList.js

@Version: 1.2 11/12/07

@Description: used to make sortable lists


@Example:

myList = new sb.widget.sortList('#myList', '');

myList.onSwitch = function(){
    this.turnColor();
};

//this this of this is the list itself
myList.onMouseUp = function(){
    //document.title= this.dataOut();
};

//same time as onMouseUp but the this is the item itself
myList.onItemDrop = function(){
    this.turnColor2();
    //document.title = this.order;
};

//the this of this is the item selected
myList.onItemSelect = function(){
    //document.title = this.order;
};