BAlexandrov
asked on
250 point more for old question
Here is my old question I give here another 250 points.
I need a sollution how to manipulate IE.
https://www.experts-exchange.com/questions/20822707/Open-new-window-with-specified-size-and-without-menu-and-toolbar-from-an-application.html
I need a sollution how to manipulate IE.
https://www.experts-exchange.com/questions/20822707/Open-new-window-with-specified-size-and-without-menu-and-toolbar-from-an-application.html
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It opens only a web page without Toolbar and Menubar.
'ShellExecute' runs the application and 'SW_HIDE' arguement hides the FirstPage.htm.
Nass89
'ShellExecute' runs the application and 'SW_HIDE' arguement hides the FirstPage.htm.
Nass89
ASKER
Thanks. I will check this at monday and will give you the points.
Please post one comment at original question to can accept it too.
Please post one comment at original question to can accept it too.
ASKER
Actually I found better workaround.
Opening first page and then another one and closing the original without security prompt!
test1.html
<HTML>
<script language="JavaScript" type="text/JavaScript">
<!--
function jump()
{
var sscWindow
sscWindow= window.open('test2.html', 'test2', 'scrollbars=yes,width=772, height=536 ');
if (window.focus)
{
sscWindow.focus()
}
return false;
}
//-->
</script>
<BODY>
<a href="#" onclick="jump();">Open test2</a>
</BODY>
</HTML>
test2.hml
<html>
<head>
<script language="JavaScript" type="text/JavaScript">
<!--
opener.opener = opener;
opener.close();
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
sdvsbsdf
</body>
</html>
Opening first page and then another one and closing the original without security prompt!
test1.html
<HTML>
<script language="JavaScript" type="text/JavaScript">
<!--
function jump()
{
var sscWindow
sscWindow= window.open('test2.html', 'test2', 'scrollbars=yes,width=772,
if (window.focus)
{
sscWindow.focus()
}
return false;
}
//-->
</script>
<BODY>
<a href="#" onclick="jump();">Open test2</a>
</BODY>
</HTML>
test2.hml
<html>
<head>
<script language="JavaScript" type="text/JavaScript">
<!--
opener.opener = opener;
opener.close();
//-->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
sdvsbsdf
</body>
</html>
ASKER
I have'nt tried with ShellExecute but from command prompt starting IE with this page as parameter I end with two pages. It seem that this - "return false" does not work as expected.
Is there difference with ShellExecute? Does your sollution open a single page only?
I have tried to open new page and close the original with window.close() but it issues a security warning that is unacceptable.
What you will suggest?
Bojidar Alexandrov