|
-
Jun 2nd, 2003, 09:43 AM
#1
Thread Starter
Addicted Member
how do i disable the internet explorer toolbars
hello,
how do i disable the internet explorer toolbars (address bar icons, status etc.)
the thing is i need to do this when i load the internet explorer for the first time
so a can't use window.open(args)
i need to open a shortcut from a desktop that opens internet explorer without any "bars"
please help me,
thanks,
Tom
-
Jun 2nd, 2003, 01:44 PM
#2
Unfortunately, you can't. But what you can do is to close the current window and open your page in another window without toolbar and location. For example you can pass a queryString parameter that will tell your program to close the window and open another one.
Code:
Response.Write("<script language=javascript>window.open('YourPage.aspx', null, 'location=no;status=no;toolbar=no')</script>");
Response.Write("<script language=javascript>self.close()</script>");
-
Jun 3rd, 2003, 04:03 AM
#3
Thread Starter
Addicted Member
is there any way of doing this without displaying a pop up message saying that the other window is closing?
-
Jun 3rd, 2003, 04:56 AM
#4
Member
try this out
Put the below in the new window opened
VB Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<SCRIPT LANGUAGE="JavaScript">
<!--
function closeMain()
{
window.opener.opener='stupid_machine';
window.opener.close();
window.close();
}
//-->
</SCRIPT>
</HEAD>
<BODY onLoad="closeMain();">
</BODY>
</HTML>
Last edited by lpere68; Jul 11th, 2003 at 07:17 AM.
I know that I know nothing.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|