function calcPointToPercentage ( calcPoint ) {
            var location = calcPoint - offset(scope_Base, options.ort);
            var proposal = ( location * 100 ) / baseSize();
            return options.dir ? 100 - proposal : proposal;
        }
function calcPointToPercentage ( calcPoint ) {
            var location = calcPoint - offset(scope_Base, options.ort);
            var proposal = ( location * 100 ) / baseSize();
            return options.dir ? 100 - proposal : proposal;
        }
function calcPointToPercentage ( calcPoint ) { var location = calcPoint - offset ( scope_Base , options . ort ) ; var proposal = ( location * 100 ) / baseSize ( ) ; return options . dir ? 100 - proposal : proposal ; }
Translate a coordinate in the document to a percentage on the slider
Translate a coordinate in the document to a percentage on the slider
Calculate the percentage of the location in the scope