public/lib/jquery.sly.js
function getIndex(item) {
            return isNumber(item) ? within(item, 0, items.length - 1) : item === undefined ? -1 : $items.index(item);
        }
function getIndex(item) {
            return isNumber(item) ? within(item, 0, items.length - 1) : item === undefined ? -1 : $items.index(item);
        }
function getIndex ( item ) { return isNumber ( item ) ? within ( item , 0 , items . length - 1 ) : item === undefined ? - 1 : $items . index ( item ) ; }
Get the index of an item in SLIDEE.

@param {Mixed} item Item DOM element, or index starting at 0.

@return {Int}
Get the index of an item in SLIDEE .