scripts/menu.js
/**
 * Create the jQuery UI Slider for inputting the Model Scale
 */
Create the jQuery UI Slider for inputting the Model Scale
Create the jQuery UI Slider for inputting the Model Scale
function createModelScaleSlider() {
    var currentScale = $("#currentScale");
    var slider = $("#modelScaleSlider");
    var max = 100;
    var min = 1;
    var startingVal = 3;
    var slideCB = function (event, ui) {
        currentScale.html(ui.value + "x");
    }
    createSlider(slider, max, min, startingVal, slideCB);
}
function createModelScaleSlider ( ) { var currentScale = $ ( "#currentScale" ) ; var slider = $ ( "#modelScaleSlider" ) ; var max = 100 ; var min = 1 ; var startingVal = 3 ; var slideCB = function ( event , ui ) { currentScale . html ( ui . value + "x" ) ; } createSlider ( slider , max , min , startingVal , slideCB ) ; }
Create the jQuery UI Slider for inputting the Model Scale
Create the jQuery UI Slider for inputting the Model Scale