PDA

View Full Version : Forcing Popups in IE7



tigomark
03-06-2007, 11:21 AM
First and formost I understand this is something that most people would agree that you would not want to do and that it is annoying ect. However, in this case I am trying to create a survey for internal employees that forces the survey into a new browser to hide information about the user and locks the window down so that they only see what I want them to see. currently my java script is a thus,

function newWindow(){


surveyWindow = window.open('survey.php',
'_blankWin', ' location=no top=100 left=50 resizable=no scrollbars=yes width=800, height=600')



}

A standard window that will work fine for all of my IE6 Users. However since my IS department and myself all have Firefox (which will not open the window in the firstplace) and IE7 I don't want to give them the advantage of being able to monkey around in the survey. Is there a way to JS force the browser to not open the popup in a tab even if that is how they wish it to be?

Dan Schulz
03-07-2007, 09:13 PM
I'm not a JavaScript expert, but I don't think there is. But then again I don't use FireFox anymore.