[jquery-ui] Re: ui-state-error and Title Bar for Dialogs

2009-02-05 Thread fehays
Thanks Scott. That makes sense and that worked. Looks like I would need to do something similar for the buttonpane. -Fred On Feb 4, 4:39 pm, ScottJehl wrote: > sorry, it seems that got caught in the quoted text... just add this > after your dialog() method: > .prev().addClass('ui-state-error')

[jquery-ui] Re: ui-state-error and Title Bar for Dialogs

2009-02-04 Thread ScottJehl
sorry, it seems that got caught in the quoted text... just add this after your dialog() method: .prev().addClass('ui-state-error'); Hope that helps! -Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI"

[jquery-ui] Re: ui-state-error and Title Bar for Dialogs

2009-02-04 Thread ScottJehl
The jQuery UI CSS Framework container classes are meant to work regardless of their parent containers, so that's why you aren't seeing your error style cascade into your header. To achieve your effect, you could just traverse to the header div after creating your dialog. Since the dialog() plugin