Results 1 to 4 of 4

Thread: Help with pop-up on form submit

  1. #1
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with pop-up on form submit

    Script: DHTML Window widget
    http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

    I am trying to use the DHTML Window widget to replace my current script that pops a new browser window.
    I think I need to use the iframe example, but can not seem to get the code correct. Below is what I used to use, how can I write it for DHTML Window widget


    My OLD Script (that I want to stop using and start using the widget)
    Code:
    <script>
    function pop_POFPDF(myForm) { var w = indow.open('about:blank','pop_Window','location=yes,directories=yes,menubar=yes,status=yes,toolbar=yes,titlebar=yes,scrollbars,resizable,width=800,height=600,left=1,top=1');myForm.target = 'pop_Window';return true;}
    </script>
    My OLD form link (that I want to stop using and start using the widget)
    Code:
    <FORM ACTION="http://mysite.com/mypage.php" METHOD="GET" onSubmit="pop_POFPDF(this)">Order No:<input name="ord_no" type="text" ></FORM>

  2. #2
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Can anyone help?
    Point me to an FAQ I overlooked?
    Maybe what I am trying to do can't be done with DHTML Window Widget?

  3. #3
    Join Date
    Nov 2009
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You should be able to do this with the DHTML widget. Can you post the script that you are using that doesn't work?

  4. #4
    Join Date
    Nov 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That's just it.

    I have no clue where to look for help on writing a dhtml widget script that is similar to the one above that calls my web page in a pop-up.

    When my user clicks "submit" I want a widget window to pop up instead of the browser window pop-up that I have now.

    The code I have above to pop a browser page works perfect, but I want to use the dhtml widget.

    I have searched the FAQ's and the forum with no luck.

    All the samples I have found pop-up outside pages like google.

Bookmarks

Posting Permissions

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