Skip to main content

Search and Top Navigation

#4616 closed enhancement (worksforme)

Opened June 18, 2009 08:02PM UTC

Closed July 10, 2009 08:32PM UTC

Optional/Customizable Title Bar on Dialog

Reported by: bgoodin Owned by:
Priority: minor Milestone: 1.8
Component: ui.dialog Version: 1.7.2
Keywords: titlebar dialog title Cc:
Blocked by: Blocking:

It would be nice to be able to specify the titlebar as optional on the dialog. I currently set the ui-dialog-titlebar to be display:none when the content is loaded.

It would also be nice to allow for a custom titlebar to be provided. Since the titlebar exists outside of the content that the dialog wraps it would be nice to have the ability to utilize that titlebar space for custom titlebars. In my case I wanted to place a graphic with the title and some subtext beneath it. Currently there doesn't appear to be any simple way to accomplish this.

Attachments (0)
Change History (2)

Changed July 09, 2009 02:12PM UTC by jzaefferer comment:1

milestone: TBD1.8

Changed July 10, 2009 08:32PM UTC by scottgonzalez comment:2

resolution: → worksforme
status: newclosed

The title option takes any HTML, which actually makes customizing it quite easy. As for hiding the titlbar, I don't think it's a common enough case to warrant an option for considering how easy it is to do (and can already be accomplished using the dialogClass option and some CSS).