Emulate "Close" Button

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bruce A. Julseth

    Emulate "Close" Button

    How do I emulate the web page "Close" Button, i. e. the "X" in the upper
    right hand corner of each web page?

    Thank you....

    Bruce


  • k-caj

    #2
    Re: Emulate "Close&quo t; Button

    Bruce A. Julseth wrote:[color=blue]
    > How do I emulate the web page "Close" Button, i. e. the "X" in the
    > upper right hand corner of each web page?[/color]

    try:

    <input type=button value="Close window" onclick="window .close();">

    but, it will ask for confirmation...

    --
    --- --- --- --- --- --- ---
    jack@croatiabiz .com


    Comment

    • Guest's Avatar

      #3
      Re: Emulate &quot;Close&quo t; Button

      > How do I emulate the web page "Close" Button, i. e. the "X" in the upper[color=blue]
      > right hand corner of each web page?[/color]

      ask in Javascript newsgroup.
      it is off-topic here
      php run on server, not in client


      Comment

      • Bruce A. Julseth

        #4
        Re: Emulate &quot;Close&quo t; Button

        Thanks.....

        Bruce

        "k-caj" <jack@iskrica.c om> wrote in message
        news:bnanb7$cpl $1@ls219.htnet. hr...[color=blue]
        > Bruce A. Julseth wrote:[color=green]
        > > How do I emulate the web page "Close" Button, i. e. the "X" in the
        > > upper right hand corner of each web page?[/color]
        >
        > try:
        >
        > <input type=button value="Close window" onclick="window .close();">
        >
        > but, it will ask for confirmation...
        >
        > --
        > --- --- --- --- --- --- ---
        > jack@croatiabiz .com
        >
        >[/color]


        Comment

        • Bruce A. Julseth

          #5
          Re: Emulate &quot;Close&quo t; Button

          Okay!!!

          "<- Chameleon ->" <cham_gss@hotma il.NOSPAM.com> wrote in message
          news:bnb7o9$p1i $1@nic.grnet.gr ...[color=blue][color=green]
          > > How do I emulate the web page "Close" Button, i. e. the "X" in the upper
          > > right hand corner of each web page?[/color]
          >
          > ask in Javascript newsgroup.
          > it is off-topic here
          > php run on server, not in client
          >
          >[/color]


          Comment

          • Rob

            #6
            Re: Emulate &quot;Close&quo t; Button

            Don't be like that...It's an honest question.


            Rob

            "<- Chameleon ->" <cham_gss@hotma il.NOSPAM.com> wrote in message
            news:bnb7o9$p1i $1@nic.grnet.gr ...[color=blue][color=green]
            > > How do I emulate the web page "Close" Button, i. e. the "X" in the upper
            > > right hand corner of each web page?[/color]
            >
            > ask in Javascript newsgroup.
            > it is off-topic here
            > php run on server, not in client
            >
            >[/color]


            Comment

            • Geoff Berrow

              #7
              Re: Emulate &quot;Close&quo t; Button

              I noticed that Message-ID:
              <5kimb.5888$As7 .4893@newssvr27 .news.prodigy.c om> from Rob contained the
              following:
              [color=blue]
              >Don't be like that...It's an honest question.[/color]

              It was an honest answer. You can't do it with PHP.

              --
              Geoff Berrow
              It's only Usenet, no one dies.
              My opinions, not the committee's, mine.
              Simple RFDs http://www.ckdog.co.uk/rfdmaker/

              Comment

              • John Dunlop

                #8
                Re: [OT] Emulate &quot;Close&quo t; Button

                k-caj wrote:
                [color=blue]
                > Bruce A. Julseth wrote:
                >[color=green]
                > > How do I emulate the web page "Close" Button,[/color][/color]

                Why would you want to?
                [color=blue]
                > <input type=button value="Close window" onclick="window .close();">[/color]

                Gee, doesn't your bogometer tinkle?
                [color=blue]
                > but, it will ask for confirmation...[/color]

                Check your FAQs. A UA might ask for confirmation; it might not.

                --
                Jock

                Comment

                Working...