开发者

jQuery UI Dialog - Position

I'm trying to fix a dialog. T开发者_Python百科he sticky property sticks it, but I need to fix the dialog where the div is.

Basically I need the dialog behave like an regular div (if I set it inside an table, it stays there. Not in the middle of the screen).

I know this is related with position effect, but I can't figure out how to make this.

Thanks


Have you considered using jQuery BlockUI instead? It has element blocking, and I think that's what you're after here. From what I remember about jQuery UI, the positioning is based off the viewport, not the page itself. http://jquery.malsup.com/block/#element

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜