New window with php

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • sheldonlg@gmail.com

    New window with php

    I know how to open the next page in a new window. What I want to know
    is how do you close that new window and return to the original window?

    Thanks.

    Shelly

  • C. Taddiken

    #2
    Re: New window with php

    sheldonlg@gmail .com wrote:[color=blue]
    > I know how to open the next page in a new window. What I want to know
    > is how do you close that new window and return to the original window?
    >
    > Thanks.
    >
    > Shelly
    >[/color]

    This is something you would do you with JavaScript - look at
    JavaScript is a programming language that is primarily used to create interactive and dynamic website content. It can be used to manipulate the Document Object Model (DOM) in a web page, making it a popular choice for creating dynamic user interfaces and web applications.

    or google for the JavaScript function window.open.

    Please try to ask questions to the proper newsgroup.

    Comment

    • Jim Michaels

      #3
      Re: New window with php

      you assign the results of window.open() to a variable.
      variable.focus( ); makes sure that window gets the focus.

      then, variable.close( );
      then, window.focus(); (probably redundant, but a good step)
      <sheldonlg@gmai l.com> wrote in message
      news:1138847039 .426464.27980@f 14g2000cwb.goog legroups.com...[color=blue]
      >I know how to open the next page in a new window. What I want to know
      > is how do you close that new window and return to the original window?
      >
      > Thanks.
      >
      > Shelly
      >[/color]


      Comment

      Working...