开发者

Disabling parent page when child page is loaded

开发者 https://www.devze.com 2023-01-06 22:12 出处:网络
I have to disable ou开发者_Python百科r parent page(Complete gray out and non functioning) when child page is loaded. Once I close child page then I could perform any action at my parent page.

I have to disable ou开发者_Python百科r parent page(Complete gray out and non functioning) when child page is loaded. Once I close child page then I could perform any action at my parent page.

I can not use Div at my parent page because it may be many page so i have to controlled it from child page only.

Please help me at this issue and suggest me some link or code snippet.


I don't understand your problem exactly, but if you want to disable elements or anything except an element, it seems that the blockUI plugin is exactly what you're after, check it out here.

Check out the demos here


if by child and parent, you mean to open a new window, then you might want to check the jquery ui dialog plugin. http://jqueryui.com/demos/dialog/

It can be used the way you want by setting the modal property true

0

精彩评论

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