Support » Plugin: Cf7 UI slider » Slider not showing

  • Resolved jozefhindicky

    (@jozefhindicky)


    Hi,

    I have installed the plugin and added the shortcode

    [cf7_ui_slider promethean-promotion min:0 ui_default:100 max:100]

    However the slider isn’t working.

    Here’s the HTML dump:
    <div id=””></div>
    <script>
    jQuery(function ($) {
    $(window).ready(function () {
    var tooltip = $(‘<div class=”slider-tooltip” />’).css({
    position: ‘absolute’
    });

    tooltip.text(‘100’);

    $(“#”).slider({
    range: “min”,
    min: 0,
    max: 100,
    value: 100,
    slide: function (event, ui) {
    $(“#-single-slider”).val(” + ui.value);
    tooltip.text(”+ui.value);
    },
    change: function (event, ui) {
    }
    }).find(“.ui-slider-handle”).append(tooltip);
    // $(“#//”).val(//);
    });
    });
    </script>

    <input type=”hidden” name=”promethean-promotion” value=”100″ id=”-single-slider”>

    There are no JS errors in console – I’m using the latest version of the plugin and WP. I tried the usual debugging techniques (turn off plugins, switch to default theme, etc.). The site is on my local environment, I’m unable to send a link.

    Can you help?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Slider not showing’ is closed to new replies.