Re: disable title bar, status bar, and address bar of a browser window

Discussion in 'ASP .Net' started by John Hann, Aug 21, 2004.

  1. John Hann

    John Hann Guest

    References: <>
    In-Reply-To: <>
    Content-Type: text/plain; charset=us-ascii; format=flowed
    Content-Transfer-Encoding: 7bit
    Message-ID: <>
    Lines: 32
    NNTP-Posting-Host: 67.171.172.106
    X-Trace: sv3-F6f1ysOZsYT2qX2AqjnwI0Si+0aikIRnDJ/p3RJcSNdZC7jFCSZCLSpEelHcxEHGLCtoyTLf36fXlWk!Mh4kKrZiPmTQ1Vra6sr1FXh4NtWcLT/ognlFgMo65Yfp3rzUS068xgBy5NP3MiU=
    X-Complaints-To:
    X-DMCA-Complaints-To:
    X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
    X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
    X-Postfilter: 1.3.13
    Xref: number1.nntp.dca.giganews.com microsoft.public.dotnet.framework.aspnet:271205

    Matt wrote:

    > I want to disable the title bar, status bar and address bar of a
    > window, but I couldn't find the syntax. I tried the following but not
    > working. any ideas??
    >
    > window.document.statusbar.enable = false;
    > window.document.titlebar.enable = false;
    > window.document.addressbar.enable = false;
    >
    > <html>
    > <title>hey</title>
    > <script type="text/javascript">
    > function changetitle()
    > {
    > alert(window.document.title);
    > window.document.title = "heyhey";
    > window.document.statusbar.enable = false;
    > alert(window.document.title);
    > }
    > </script>
    > <body onload="changetitle()">
    > </body>
    > </html>
    >
    >
    >


    I don't this this is allowed. You can alter these attributes with the
    createWindow function, but I doubt what you're attempting is supported.

    - John
    John Hann, Aug 21, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Matt
    Replies:
    0
    Views:
    3,524
  2. Matt
    Replies:
    9
    Views:
    70,763
  3. soonic
    Replies:
    11
    Views:
    1,754
    soonic
    Jul 27, 2011
  4. Matt
    Replies:
    9
    Views:
    526
    kaeli
    Aug 23, 2004
  5. Russell
    Replies:
    2
    Views:
    265
    Russell
    Sep 13, 2004
Loading...

Share This Page