# (ASP) openWindow

**URL:** <https://forum.kirupa.com/t/asp-openwindow/44108>\
**Category:** programming\
**Created:** [February 29, 2004, 2:59pm UTC](https://forum.kirupa.com/t/asp-openwindow/44108 "2004-02-29T14:59:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ariela](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@Ariela](https://forum.kirupa.com/u/Ariela)\
**Post date:** [February 29, 2004, 2:59pm UTC](https://forum.kirupa.com/t/asp-openwindow/44108/1 "2004-02-29T14:59:08Z")

</div>

Hi,  
I used the instructions to build a form in ASP and FLASH from this site (Flash Forms and Database Integration) and it works great!.

BUT:  
The only thing i wanted to change is that the details shown to the viewers will pop up with a nice window like this :  
function openWindow(URL)  
{  
newWindow=window.open(URL, ‘a’, ‘scroll=1, toolbar=0, location=0, directories=0, status=0, menubar=0, width=400, height=300, left=’+(((screen.width-800)/2)-100)+’, top=’+((screen.height-500)/3)+’’)  
}

the URL should be the ProcessForm.asp.  
insted of:  
getURL("…/atar\_via/processForm.asp",0, “POST”);

I write  
getURL(“javascript:openWindow ‘…/atar\_via/processForm.asp’”,0, “POST”);

but it dosn’t work…  
WHY??

Thanks  
Ariela
