开发者

jQuery UI Dialog - Position

开发者 https://www.devze.com 2023-01-17 02:38 出处:网络
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.

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

精彩评论

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