SimpleModal + UI Layout: block out div instead of body
I'm using the UI Layout plug-in. I'd like to make SimpleModal block out only the "center pane" instead of the entire body of the document. I mention this because I haven't tried it in a document not having UI Layout, and am not sure if it is a factor.
Is开发者_StackOverflow社区 this possible with SimpleModal? Is the appendTo
option supposed to allow this? (I have tried it, it doesn't seem to be the intention of the option).
Would I have to manipulate the overlay and the dialog position in the onOpen
callback? If this is not currently supported, it sounds like a useful option to have.
Thanks for any help with this!
the appendTo
option was added to support .NET forms and would not help in this case. I'm not a big fan of answering a question with "have you tried something else", but have you tried BlockUI?
精彩评论