Results 1 to 2 of 2

Thread: help me with dhtml modal window please??

  1. #1
    Join Date
    Feb 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help me with dhtml modal window please??

    1) Script Title: dhtml modal window

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...dhtmlmodal.htm

    3) Describe problem:
    i like the window script. i have a reservation form . i want to submit the form and see the result into dhtml window. how can i manage it?

    i tried sth like this but it failed (

    HTML Code:
     <script type="text/javascript">
    function openmypage(){ //Define arbitrary function to run desired DHTML Window widget codes
    ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "rezervasyon1.asp", "Website Demo", "width=980px,height=600px,left=20px,top=20px,resize=1,scrolling=1")
    ajaxwin.onclose=function(){return window.confirm("Close?")} //Run custom code when window is about to be closed
    }
    </script>  <form id="ContactFORM" onsubmit="openmypage(); return false" method="get" name="ContactFORM" action="rezervasyon1.asp" >

  2. #2
    Join Date
    Jul 2005
    Location
    UK
    Posts
    159
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    i'd use php, you can embed javascript in php... create a seperate php document which will take/check the user inputted data, and then use a javascript to create a popup, or dhtml window with the variables defined earlier in the php.

    if you are not sure how to do this, i could help.

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
  •