View Full Version : Screen handling problem.
Blobby
10-11-2004, 12:19 PM
Can anyone tell me how to freeze all screens and windows etc. except for the last popup displayed?
I need to be able to force this popup to be completed or cancelled out of before any other links etc. are allowed to be taken, this includes links from the task bar.
maxadim
10-11-2004, 02:58 PM
I've seen some threads like this before elsewhere. I'm almost certain it's not possible, and even if it was it probably wouldn't make you very popular with your visitors ;)
Blobby
10-12-2004, 04:16 AM
I may have been a bit misleading.:doh: What I actually need to be able to do is open a child window and make sure that the parent window cannot be accessed until the child window has been completed or closed.
maxadim
10-14-2004, 01:07 PM
I'm not sute if there is a total solution to your problem, if there is I'm clueless ;) The best I can think of is to make a window that would be hard to close, without clicking a close button:
function OpenSurveyWindow()
{
var height = window.screen.height;
var width = window.screen.width;
var win_dimensions = "height = " + eval(height) + ", width = " + eval(width);
surveywin = window.open("survey.htm", "surveywin", win_dimensions);
if(surveywin.moveTo)
surveywin.moveTo(-10, -30);
if(surveywin.resizeBy)
surveywin.resizeBy(0, 50);
}
Hope this helps
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.