Re: hiding toolbars etc

Discussion in 'HTML' started by Bob Calvanese, Jul 6, 2003.

  1. <script>
    function OpenForm(){
    window.open("MyPage.asp","width=300,height=200");
    }
    </script>

    <a href="OpenForm();">Link to open MyForm</a>

    "Rob Ellison" <> wrote in message
    news:l1u6a.5538$%...
    > hi, i have a form that when you press submit, posts data to an asp page.
    > i want this resulting asp page to be in its own window with no toolbars
    > (completly blank) and a specifc size (say 300x200) is this possible, and

    if
    > so, how do i do it??
    > i'm completly new to this, so have no idea at all!
    > thanks for any help
    >
    >
    >
    Bob Calvanese, Jul 6, 2003
    #1
    1. Advertising

  2. On Sun, 06 Jul 2003 00:39:50 -0400, Bob Calvanese wrote:

    > <script>
    > function OpenForm(){
    > window.open("MyPage.asp","width=300,height=200");
    > }
    > </script>
    >
    > <a href="OpenForm();">Link to open MyForm</a>


    or better:

    <script>
    function OpenForm(){
    window.open("MyPage.asp","width=300,height=200");
    }
    </script>

    <a href="MyPage.asp" onclick="OpenForm();return false;">Link to open
    MyForm</a>

    as this will work for browsers that don't understand JavaScript (e.g.
    Lynx, secure installations of IE, Googlebot...)

    --
    Toby A Inkster BSc (Hons) ARCS | mailto: | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:
    http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
    playing://(nothing)
    Toby A Inkster, Jul 6, 2003
    #2
    1. Advertising

  3. Yes... You are correct...
    I was merely demonstrating the basic approach of how to do this.
    Thanks
    Bob Calvanese

    "Toby A Inkster" <> wrote in message
    news:p...
    > On Sun, 06 Jul 2003 00:39:50 -0400, Bob Calvanese wrote:
    >
    > > <script>
    > > function OpenForm(){
    > > window.open("MyPage.asp","width=300,height=200");
    > > }
    > > </script>
    > >
    > > <a href="OpenForm();">Link to open MyForm</a>

    >
    > or better:
    >
    > <script>
    > function OpenForm(){
    > window.open("MyPage.asp","width=300,height=200");
    > }
    > </script>
    >
    > <a href="MyPage.asp" onclick="OpenForm();return false;">Link to open
    > MyForm</a>
    >
    > as this will work for browsers that don't understand JavaScript (e.g.
    > Lynx, secure installations of IE, Googlebot...)
    >
    > --
    > Toby A Inkster BSc (Hons) ARCS | mailto: |

    pgp:0x6A2A7D39
    > aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:
    > http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
    > playing://(nothing)
    Bob Calvanese, Jul 6, 2003
    #3
    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. Marina

    Re: Hiding Toolbars

    Marina, Aug 13, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    2,218
    Jerry III
    Aug 14, 2003
  2. moondaddy
    Replies:
    2
    Views:
    602
    moondaddy
    Jul 27, 2004
  3. PJ6
    Replies:
    1
    Views:
    486
    Karl Seguin
    Oct 21, 2005
  4. Kevin Walzer

    Re: PIL (etc etc etc) on OS X

    Kevin Walzer, Aug 1, 2008, in forum: Python
    Replies:
    4
    Views:
    371
    Fredrik Lundh
    Aug 13, 2008
  5. anon
    Replies:
    13
    Views:
    264
    Bob Barrows [MVP]
    May 15, 2008
Loading...

Share This Page