This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

diasbling the parent window, until pop-up is closed

 
Prajatna Mahunta
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to restrict the user to do any action in the main (parent) window until, pop-up window is open.

Can any body please help me in this regard , how to do this with help of Java script.


 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why is the message all in green? Do you want to make it harder-to-read?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64835
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Contrast is too low. Too hard to read.
 
Prajatna Mahunta
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to restrict the user to do any action in the main (parent) window until, pop-up window is open.

Can any body please help me in this regard , how to do this with help of Java script.


Now I think it is ok to read..
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64835
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Best bet is to not use a popup at all but to overlay the main window with a positioned div.

See my BlackBox game implementation for examples.
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Push an transparent iframe on top and use a div element to mimic a popup on top of that iframe.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic