Removing ToolBar from browser...?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tom Szabo

    Removing ToolBar from browser...?

    Hi All,

    Just wondering there is any other way to remove the toolbar from the browser
    than using

    " ...toolbar=no ..."

    in the

    window.open(... )

    is there a way to do it after the browser opened? (say some Java script)

    are there any parameters or style like stuff that can be embedded in the
    HTML code and does it when the new page created?

    or is the above method the ONLY way???

    TIA,

    Tom


  • John Dunlop

    #2
    Re: Removing ToolBar from browser...?

    Tom Szabo wrote:
    [color=blue]
    > Just wondering there is any other way to remove the toolbar from the browser[/color]

    How you remove a toolbar depends on the browser. Consult a
    newsgroup which deals with your particular browser.

    --
    Jock

    Comment

    • Shawn Wilson

      #3
      Re: Removing ToolBar from browser...?

      Tom Szabo wrote:[color=blue]
      >
      > Just wondering there is any other way to remove the toolbar from the browser
      > than using
      >
      > " ...toolbar=no ..."
      >
      > in the
      >
      > window.open(... )
      >
      > is there a way to do it after the browser opened? (say some Java script)
      >
      > are there any parameters or style like stuff that can be embedded in the
      > HTML code and does it when the new page created?
      >
      > or is the above method the ONLY way???[/color]

      That's the only way I'm aware of. PHP certainly won't do it for you. You could
      try a javascript newsgroup. You might be able to do a JS test where you check
      the window name. If the current window is some obscure name that you set, then
      proceed normally. If not, open a new window without the toolbar and load the
      current page into it. Then close the parent window.

      Shawn

      --
      Shawn Wilson
      shawn@glassgian t.com

      Comment

      • Tom Szabo

        #4
        Re: Removing ToolBar from browser...?

        "John Dunlop" <usenet+2004@jo hn.dunlop.name> wrote in message
        news:MPG.1c000a b313ef28249897b 4@News.Individu al.NET...[color=blue]
        > Tom Szabo wrote:
        >[color=green]
        > > Just wondering there is any other way to remove the toolbar from the[/color][/color]
        browser[color=blue]
        >
        > How you remove a toolbar depends on the browser. Consult a
        > newsgroup which deals with your particular browser.
        >
        > --
        > Jock[/color]


        There is no particular browser. What I want to find out if, using code,
        there is another way or no.

        Is there an alternative to:

        window.open( ?, ?, "....toolbar=no ...")

        this will do it when opens the window, but can it be done by some HTML
        parameters etc in the page's code itself or with Java Script when the page
        is already open.

        I am not talking about how would the user configure it...


        Comment

        • Tom Szabo

          #5
          Re: Removing ToolBar from browser...?


          "Shawn Wilson" <shawn@glassgia nt.com> wrote in message
          news:4195FB5B.6 70EF050@glassgi ant.com...[color=blue]
          > Tom Szabo wrote:[color=green]
          > >
          > > Just wondering there is any other way to remove the toolbar from the[/color][/color]
          browser[color=blue][color=green]
          > > than using
          > >
          > > " ...toolbar=no ..."
          > >
          > > in the
          > >
          > > window.open(... )
          > >
          > > is there a way to do it after the browser opened? (say some Java script)
          > >
          > > are there any parameters or style like stuff that can be embedded in the
          > > HTML code and does it when the new page created?
          > >
          > > or is the above method the ONLY way???[/color]
          >
          > That's the only way I'm aware of. PHP certainly won't do it for you. You[/color]
          could[color=blue]
          > try a javascript newsgroup. You might be able to do a JS test where you[/color]
          check[color=blue]
          > the window name. If the current window is some obscure name that you set,[/color]
          then[color=blue]
          > proceed normally. If not, open a new window without the toolbar and load[/color]
          the[color=blue]
          > current page into it. Then close the parent window.
          >
          > Shawn
          >
          > --
          > Shawn Wilson
          > shawn@glassgian t.com
          > http://www.glassgiant.com[/color]

          Thanks Shawn,

          Would be good if you wouldn't be correct, but I am afraid, you are....but
          still hoping :-)

          Thanks again,

          Tom


          Comment

          • Warren Oates

            #6
            Re: Removing ToolBar from browser...?

            In article <4195fbf8$1@dne ws.tpgi.com.au> ,
            "Tom Szabo" <tom@intersoft. net.au> wrote:

            :Is there an alternative to:
            :
            : window.open( ?, ?, "....toolbar=no ...")
            :
            :this will do it when opens the window, but can it be done by some HTML
            :parameters etc in the page's code itself or with Java Script when the page
            :is already open.
            :
            :I am not talking about how would the user configure it...

            It has to be done on the client. You can't change an open window's
            parameters with PHP. You can use "onClick=" inside an anchor to open a
            new window with any parameters you want (but that's Javascript), and
            then close the parent window; be aware that your user may have disabled
            Javascript, or disallowed modification of some of the parameters you
            want to change.

            Javascript is more important now, I've found, since xhtml has outlawed
            the "target" attribute of anchors.
            --
            Looks like more of Texas to me.
            .... Arizona, where the nights are warm and the roads are straight.

            Comment

            • Tom Szabo

              #7
              Re: Removing ToolBar from browser...?

              [color=blue]
              > :Is there an alternative to:
              > :
              > : window.open( ?, ?, "....toolbar=no ...")
              > :
              > :this will do it when opens the window, but can it be done by some HTML
              > :parameters etc in the page's code itself or with Java Script when the[/color]
              page[color=blue]
              > :is already open.
              > :
              > :I am not talking about how would the user configure it...
              >
              > It has to be done on the client. You can't change an open window's
              > parameters with PHP. You can use "onClick=" inside an anchor to open a
              > new window with any parameters you want (but that's Javascript), and
              > then close the parent window; be aware that your user may have disabled
              > Javascript, or disallowed modification of some of the parameters you
              > want to change.
              >
              > Javascript is more important now, I've found, since xhtml has outlawed
              > the "target" attribute of anchors.[/color]


              I understand it has to be done on the client if Java, but I thought there
              may be something in the <BODY ....> Tag or header that one can set...

              I need to open a new window, a plain one like in windows programming, and
              submit data from one window to the next.
              To work like STD Windows type apps the only constrainst I have at the
              moments is that I can't submit a form into a new window where I can
              reconfigure the browser:

              <input
              onclick="window .open('Test.Htm l',null,'status =yes,toolbar=no ,menubar=yes,lo c
              ation=no');" type="submit" value="Submit" name="B1">

              If I do this, it will open the window as I wish, but will not submit at the
              same time or I can do this:

              <input type="button" value="submit" name="Use_Btn"
              onclick="window .TEST_FORM.subm it()">

              this will submit and it I set the target in the form to "_new" I will have a
              new window open, data submitted, but in a browser style.

              this is my problem...:-(


              Comment

              • Andy Hassall

                #8
                Re: Removing ToolBar from browser...?

                On Sat, 13 Nov 2004 07:54:20 -0500, Warren Oates <warren.oates@g mail.com>
                wrote:
                [color=blue]
                >Javascript is more important now, I've found, since xhtml has outlawed
                >the "target" attribute of anchors.[/color]

                Has it? The XHTML 1.0 Transitional DTD has the following:

                <!--=============== === The Anchor Element =============== =============== ==-->

                <!-- content is %Inline; except that anchors shouldn't be nested -->

                <!ELEMENT a %a.content;>
                <!ATTLIST a
                %attrs;
                %focus;
                charset %Charset; #IMPLIED
                type %ContentType; #IMPLIED
                name NMTOKEN #IMPLIED
                href %URI; #IMPLIED
                hreflang %LanguageCode; #IMPLIED
                rel %LinkTypes; #IMPLIED
                rev %LinkTypes; #IMPLIED
                shape %Shape; "rect"
                coords %Coords; #IMPLIED
                target %FrameTarget; #IMPLIED[color=blue]
                >[/color]



                Looks like targets are still there? The Strict DTD doesn't have target, but
                then again neither did the HTML Strict DTD.

                --
                Andy Hassall / <andy@andyh.co. uk> / <http://www.andyh.co.uk >
                <http://www.andyhsoftwa re.co.uk/space> Space: disk usage analysis tool

                Comment

                • Warren Oates

                  #9
                  Re: Removing ToolBar from browser...?

                  In article <a96cp0l45lttdv 1fkf0enrpp01hc9 d08hu@4ax.com>,
                  Andy Hassall <andy@andyh.co. uk> wrote:

                  : Looks like targets are still there? The Strict DTD doesn't have target, but
                  :then again neither did the HTML Strict DTD.

                  Sorry, I meant in the strict DTDs. FWIW, xhtml 1.1 is _only_ strict, and
                  I kind of like that "you're either on the bus or off the bus" approach.
                  I don't do this for a living, though, so I can afford that kind of
                  orthodoxy.

                  I do this kind of thing:

                  <a href="http://www.google.com/"
                  onclick="window .open(this.href ,'newwin'); return false;"
                  title="Google">

                  (wrapped up tidily in a function, of course).
                  --
                  Looks like more of Texas to me.
                  .... Arizona, where the nights are warm and the roads are straight.

                  Comment

                  • Matthias Esken

                    #10
                    Re: Removing ToolBar from browser...?

                    Tom Szabo wrote:
                    [color=blue]
                    > I understand it has to be done on the client if Java, but I thought there
                    > may be something in the <BODY ....> Tag or header that one can set...[/color]

                    No. And it's not Java, it's JavaScript. That's a _big_ difference.

                    Matthias

                    Comment

                    • John Dunlop

                      #11
                      Re: Removing ToolBar from browser...?

                      Tom Szabo wrote:
                      [color=blue]
                      > Is there an alternative to:
                      >
                      > window.open( ?, ?, "....toolbar=no ...")[/color]

                      Yes. This:



                      --
                      Jock

                      Comment

                      Working...