HEX
Server: LiteSpeed
System: Linux php-prod-3.spaceapp.ru 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: sarli3128 (1010)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: //usr/local/CyberCP/public/static/baseTemplate/assets/widgets/ionrangeslider/ionrangeslider-demo.js
/* Ion RangeSlider */

$(function() {
    "use strict";
    $("#ion-slider-basic").ionRangeSlider({
        min: 0,
        max: 5000,
        type: 'double',
        prefix: "$",
        maxPostfix: "+",
        prettify: false,
        hasGrid: true,
        gridMargin: 7
    });
});

$(function() {
    "use strict";
    $("#ion-slider-money").ionRangeSlider({
        min: 1000,
        max: 100000,
        from: 30000,
        to: 90000,
        type: 'double',
        step: 500,
        postfix: " €",
        hasGrid: true,
        gridMargin: 15
    });
});

$(function() {
    "use strict";
    $("#ion-slider-carat").ionRangeSlider({
        min: 0,
        max: 10,
        type: 'single',
        step: 0.1,
        postfix: " carats",
        prettify: false,
        hasGrid: true
    });
});

$(function() {
    "use strict";
    $("#ion-slider-date").ionRangeSlider({
        values: [
            "January", "February",
            "March", "April",
            "May", "June",
            "July", "August",
            "September", "October",
            "November", "December"
        ],
        type: 'single',
        hasGrid: true
    });
});

$(function() {
    "use strict";

    $("#ion-slider-console").ionRangeSlider({
        min: 1000000,
        max: 100000000,
        type: "double",
        postfix: " pounds",
        step: 10000,
        from: 25000000,
        to: 35000000,
        onChange: function(obj) {
            delete obj.input;
            delete obj.slider;
            var t = "Range Slider value: " + JSON.stringify(obj, "", 2);

            $("#result").html(t);
        },
        onLoad: function(obj) {
            delete obj.input;
            delete obj.slider;
            var t = "Range Slider value: " + JSON.stringify(obj, "", 2);

            $("#result").html(t);
        }
    });

    $("#updateLast").on("click", function() {

        $("#example_8").ionRangeSlider("update", {
            min: Math.round(10000 + Math.random() * 40000),
            max: Math.round(200000 + Math.random() * 100000),
            step: 1,
            from: Math.round(40000 + Math.random() * 40000),
            to: Math.round(150000 + Math.random() * 80000)
        });

    });

});