Results 1 to 2 of 2
  1. #1
    Grandma broke her coccyx! Uncle Rico's Avatar
    Join Date
    May 8th, 2007
    Location
    North Carolina
    Posts
    2,238
    Popup Re-Sized Php Page on Form Submit?
    I have an html form and I would like to have it to open a php page on submit, but I really want the php page to be resized to a small rectangle.

  2. #2
    Full Member
    Join Date
    October 22nd, 2006
    Posts
    200
    Here's a script I use to popup my terms and conditions

    Code:
    <script type="text/javascript">
    function termspopup()
    {
      var windowTop = 100;                // Top position of popup
      var windowLeft = 100                // Left position of popup
      var defaultWidth = 730;             // Default width (for browsers that cannot resize)
      var defaultHeight = 532;            // Default height (for browsers that cannot resize)
      var onLoseFocusExit = true;         // Set if window to exit when it loses focus
      var Options = "width=" + defaultWidth + ",height=" + defaultHeight + ",top=" + windowTop + ",left=" + windowLeft + ",resizable"
        var termsWindow = window.open ("termspopup.php","termspopup",Options);
      termsWindow.document.close ();
      if (window.focus) termsWindow.focus();
      return false;
    }
    //-->
    </script>
    HTML Code:
    <a href="terms.php" target="_blank" onclick="return termspopup();"  >Terms and Conditions</a>

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Cloud9 PopUp Form - No Hidden Field For Aff ID - Will It Track Referral?
    By BeepBeep in forum Commission Junction - CJ
    Replies: 8
    Last Post: December 14th, 2010, 08:47 AM
  2. Php Page / Form Processing / Mysql Insert / No Page Refresh
    By Uncle Rico in forum Programming / Datafeeds / Tools
    Replies: 3
    Last Post: January 4th, 2009, 11:55 AM
  3. redirecting to a different page using php
    By DaveBodeen in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: April 7th, 2005, 04:58 AM
  4. page.php question
    By ~Michelle in forum Midnight Cafe'
    Replies: 4
    Last Post: March 17th, 2004, 10:13 PM

Posting Permissions

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