bootstrap

//解决多模态框bug
              $(".modal").on("hidden.bs.modal", function() {
                  $("body").addClass("modal-open");
                  $(".modal.fade.in").css("display","block");
              });
            //控制模态窗样式位置
               $("#modal-6").on("shown.bs.modal",function(){
                      $(this).css({
                          "background":"rgba(0,0,0,0.3)",
                          "top":"100px",
                          "filter":"alpha(opacity=70)",
                          "-ms-filter": "progid:DXImageTransform.Microsoft.gradient(GradientType=1,startColorstr=#80000000,endColorstr=#80000000)"
                      }); 
                  });

 

posted @ 2016-10-27 14:58  ice.ko  阅读(195)  评论(0编辑  收藏  举报