jquery UI dialog: how to initialize without a title bar?

前端 未结 23 1698
春和景丽
春和景丽 2020-11-29 15:03

Is it possible to open a jQuery UI Dialog without a title bar?

23条回答
  •  独厮守ぢ
    2020-11-29 15:40

    go to your jquery-ui.js (in my case jquery-ui-1.10.3.custom.js) and search for this._createTitlebar(); and comment it.

    now anyone of yours dialog will appear with headers. If you want to customize the header just go to _createTitlebar(); and edit the code inside.

    by

提交回复
热议问题