javascript not working window.open

This script does not work for me and I dont know why I thought it would take away all the tool bars and title on the Internet Explorer tool bar and other things like the menu.  
g_newWindow = window.open("index.html", "_blank",  "location=no,titlebar=no,toolbar=no,menubar=no,status=no,resizable=yes",false);

<html> 
 <head> 
     <title>Appeon Web Library </title> 
 </head> 
 <script language="javascript">    
       function startApp() {
       g_newWindow = window.open("index.html", "_blank", 
"location=no,titlebar=no,toolbar=no,menubar=no,status=no,resizable=yes",false);
}
 </script>
 <body> 
 <script language="javascript">
        startApp() 
 </script>
 </body> 
</html>

Open in new window

1030071002Asked:
Who is Participating?
 
HohlovDimaConnect With a Mentor Commented:
Hi,
Most browser are blocking such popup windows because they are considered to be harmfull. I tested this javascript in ie and it offer me to allow run script or no. If i allow it will be shown.
Best regards,
Dima.
0
 
BanthorConnect With a Mentor Commented:
IE 9 is not allowing window.open for me as well;
trusted site
compatability view.
POPUP bloker disabled
NO ADDINS

But first, What browser version are you using?
Are you getting any script errors?
Have you tried moving the call to startapp into the header script tag.

Also, for IE 8 and above, Elements with Event Handlers (onclick etc ) may require a new tag
defer="defer" to prevent IE from failing SCRIPTS before the Page has finished Loading

and I am concerned about other DOM elements as well
The Browser wars are heating up again.

0
 
1030071002Author Commented:
I am running IE 8 and no scripting error. is there any thing equal to window.open which works with all the header. no startapp it is in the body should I try to put in the header
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.