jaustill
11-23-2009, 09:51 PM
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)
<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,le ft=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)
<FORM ACTION="http://mysite.com/mypage.php" METHOD="GET" onSubmit="pop_POFPDF(this)">Order No:<input name="ord_no" type="text" ></FORM>
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)
<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,le ft=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)
<FORM ACTION="http://mysite.com/mypage.php" METHOD="GET" onSubmit="pop_POFPDF(this)">Order No:<input name="ord_no" type="text" ></FORM>