Search and Top Navigation
#8139 closed enhancement (wontfix)
Opened February 24, 2012 11:09PM UTC
Closed February 25, 2012 12:09PM UTC
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.
Implemented a demo at: http://jqui.daliait.kodingen.com/