Jquery draggable在Chrome版本中无法正常工作(39.0.2171.95米)

时间:2015-01-16 04:42:29

标签: jquery jquery-ui google-chrome

单击按钮时,将打开弹出窗口。我将弹出窗口向左,向右,向上和向下拖动。它在Internet Explorer和Mozilla Firefox中运行良好。当我在Chrome版本(39.0.2171.95米)中拖动弹出窗口时,它无法正常工作。它随机移动。请建议我如何进一步。

 $("#myModal").draggable({
          containment: "#container",
      handle: ".modal-header"
 });



<div id="myModal" class="modal fade" >
        <div class="arrow"></div>
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header" style="padding:0px 0px">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true" style="margin-top:12px;margin-right:12px;">&times;</button>
                                  <h3 class="popover-title">Voter Variables</h3>

            </div>
            <div class="modal-body">
                <p>${variableSubstitutionList}</p>
            </div>

        </div>
    </div>
</div>
</div>

0 个答案:

没有答案