Opened 10 years ago
Closed 10 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: |
Description
Add "header" option
Default: none Type: selector
what
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.
why
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.
remarks
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 10 years ago by
comment:2 Changed 10 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
The title is a string and as such can be placed in the markup using the title attribute.
Implemented a demo at: http://jqui.daliait.kodingen.com/