Results 1 to 4 of 4

Thread: how do i disable the internet explorer toolbars

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    128

    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

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744
    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>");

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    128
    is there any way of doing this without displaying a pop up message saying that the other window is closing?

  4. #4
    Member
    Join Date
    May 2003
    Posts
    53

    try this out

    Put the below in the new window opened

    VB Code:
    1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    2. <HTML>
    3. <HEAD>
    4. <TITLE> New Document </TITLE>
    5. <META NAME="Generator" CONTENT="EditPlus">
    6. <META NAME="Author" CONTENT="">
    7. <META NAME="Keywords" CONTENT="">
    8. <META NAME="Description" CONTENT="">
    9. <SCRIPT LANGUAGE="JavaScript">
    10. <!--
    11. function closeMain()
    12. {
    13.     window.opener.opener='stupid_machine';
    14.     window.opener.close();
    15.     window.close();
    16. }
    17. //-->
    18. </SCRIPT>
    19. </HEAD>
    20.  
    21. <BODY onLoad="closeMain();">
    22.  
    23. </BODY>
    24. </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
  •  



Click Here to Expand Forum to Full Width