Opened 11 years ago

Closed 11 years ago

#8139 closed enhancement (wontfix)

Add "header" option

Reported by: noptic Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.dialog Version: 1.8.18
Keywords: Cc:
Blocked by: Blocking:


Add "header" option

Default: none Type: selector


If the option is set, the first matching element is moved from the dialog content to the dialog title bar. If a header and a title are set the title option overrides the header option and the header is removed.


The title is a part of the content and should be defined with html markup. When using html 5 a dialog can be defined as a section and the header cn be used as a title.


To keep the title small css rules like " .ui-dialog-titlebar > h1 {font-size: 1em;}" can be added to the css framework.

Change History (2)

comment:1 Changed 11 years ago by noptic

Implemented a demo at:

comment:2 Changed 11 years ago by Scott González

Resolution: wontfix
Status: newclosed

The title is a string and as such can be placed in the markup using the title attribute.

Note: See TracTickets for help on using tickets.