www.webdeveloper.com
Results 1 to 3 of 3

Thread: Opening a method=post in new window`

  1. #1
    Join Date
    Dec 2005
    Posts
    6

    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:

    Code:
    <form method=post action=acro.php>
        Choose a Screen Name:
          <input type=text name=name size=15>
          <input type=submit value="Play Acrophobia!">
      </form>
    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
    Location
    The Garden State
    Posts
    5,634
    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
    Location
    Ankh-Morpork
    Posts
    19,176
    Have you tried:
    Code:
    <form method=post action=acro.php target="_blank">
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

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



Recent Articles