• i want to add this code[cf7_ui_slider cf7_ui_slider-607 id:22 min:0:15 ui_default:0:00 max:9:15 prefix:hour step:0:15] but doest work

    I saw some code where can i configure my plugin like this code
    $(function() {
    $(“.slider-range”).slider({
    range: true,
    min: 0,
    max: 1440,
    step: 15,
    slide: function(e, ui) {
    var hours = Math.floor(ui.value / 60);
    var minutes = ui.value – (hours * 60);

    if(hours.toString().length == 1) hours = ‘0’ + hours;
    if(minutes.toString().length == 1) minutes = ‘0’ + minutes;

    $(‘#something’).html(hours+’:’+minutes);
    }
    });
    });

  • The topic ‘Time (:) Problem’ is closed to new replies.