【问题标题】:bootstrap datepicker z-index still not change引导 datepicker z-index 仍然没有改变
【发布时间】:2015-10-08 09:42:07
【问题描述】:

我的 bootstrap-datepicker 需要在 13 处有一个 z-index。

我使用参数 zIndexOffset 设置它,就像在文档中一样。

但结果将 z-index 保持在默认值 10。

                $('.date-picker').datepicker({autoclose:true, language: 'fr', format: 'dd-mm-yyyy', zIndexOffset:13}).next().on(ace.click_event, function(){
                $(this).prev().focus();
            });

【问题讨论】:

    标签: bootstrap-datepicker


    【解决方案1】:
    1. 找到bbostrap-datimepicker.min.js更改return c(this).css("z-index")!="auto"} return c(this).css("z-index")!="9999"}
    2. datetimepicker.css .datetimepicker {z-index:9999}

    【讨论】:

      猜你喜欢
      • 2012-07-17
      • 1970-01-01
      • 2015-10-15
      • 1970-01-01
      • 1970-01-01
      • 2011-11-29
      • 1970-01-01
      • 1970-01-01
      • 2019-12-10
      相关资源
      最近更新 更多