Jquery 实现弹出层

直接上代码,自己做的;可以实现多级层的显示:

<script type="text/javascript">
          $(function () {
              $("#dialog:ui-dialog").dialog("destroy");
              $("#acc").hide();
              $("#abb").dialog({
                  // autoOpen: false,
                  height: 140,
                  width: 850,
                  buttons: { "下一步": function () {

                      $(this).dialog("close");
                      $("#acc").dialog({
                          modal: true,
                          height: 140,
                          buttons: { "完成": function () {
                              $(this).dialog("close");
                              CSmethod();
                          }
                          }

                      })
                  }


                  },
                  modal: true

              });
          });

posted @ 2012-02-25 18:24  wycoo  阅读(915)  评论(0编辑  收藏  举报