Results 1 to 3 of 3

Thread: Opening a method=post in new window`

  1. #1
    Join Date
    Dec 2005

    Opening a method=post in new window`

    I have a game that loads through my site which they have to select a username to play. What I want, is so that when they hit the play button, it will open up the java game in a new window, with the window only the size of the game. I tried adding the target="_blank" code a few places but it just messes things up. Here is what the code looks like:

    <form method=post action=acro.php>
        Choose a Screen Name:
          <input type=text name=name size=15>
          <input type=submit value="Play Acrophobia!">
    the acro.php file is the one I want to open in a new window the size of the game. Any help is greatly appreciated.

  2. #2
    Join Date
    Aug 2005
    The Garden State
    that's a javascript thing typically.
    Acceptable Use | SQL Forum FAQ | celery is tasteless | twitter

    celery is tasteless - currently needing some UI time

  3. #3
    Join Date
    Aug 2004
    Have you tried:
    <form method=post action=acro.php target="_blank">
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center