【问题标题】:Jquery ui draggable mobile versionjquery ui可拖动手机版
【发布时间】:2017-03-07 03:04:40
【问题描述】:

我的 jquery ui 滑块有问题。我加了

<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui-touch-punch/0.2.3/jquery.ui.touch-punch.min.js"></script>

$(".ui-slider-handle").draggable({
            axis: "x",
            containment: "parent"
        });

一切正常,但数值不显示。

【问题讨论】:

    标签: jquery jquery-ui jquery-ui-slider


    【解决方案1】:

    问题已解决

      $('#slider1').slider().slider('pips').draggable({
                axis: "x",
                containment: "parent"
            }).slider('float',{
                suffix: " RON"
            });
    
        $('#slider2').slider().slider('pips').draggable({
            axis: "x",
            containment: "parent"
        }).slider('float',{
            suffix: " zile"
        });
    

    【讨论】:

      猜你喜欢
      • 2023-04-02
      • 2013-02-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-15
      • 2016-05-16
      • 1970-01-01
      • 2013-01-27
      相关资源
      最近更新 更多