Click to See Complete Forum and Search --> : new window


gmichal
02-24-2003, 03:57 PM
i want to open a popup window from a pulldown menu...
after the popup is open it have a form(form1) that when u submit it it is open another form(form2) in another window
my problem is that i want that form2 will open only once i dont want a lots of form2 windows will be appearing on the custemer computer...
i cant attach the files....so go to this link
http://www.microcapacitors.com/addNew/home1.asp
u ned to choose a product from the cross ref...pulldown
thanks a lot
and please unswer a.s.a.p

Jona
02-24-2003, 04:18 PM
I tried it, and it works fine for me.

gmichal
02-24-2003, 05:31 PM
thank u jona for your reply
yes it is working but not the way i want to...
when a customer click on request quote i want that the form will open on a new window (which it is doing) but when the custemer ask for another product and i get this popup box i dont want him to get anohter window of the quote form if he already has one open...
i hope now i made my self more clear
thanks anyway

Dan Drillich
02-24-2003, 05:33 PM
Please replace target='_blank' in the form with target='formWindow'

gmichal
02-24-2003, 07:29 PM
Thank u so much
it is working
but i also wants to know how i can control the size and other parameters of the new window???

gmichal
02-24-2003, 09:55 PM
Originally posted by gmichal
Thank u so much
it is working
but i also wants to know how i can control the size and other parameters of the new window??? tahnksthanks

pyro
02-24-2003, 10:00 PM
Do you still need help with this?

gmichal
02-25-2003, 09:25 AM
yes
i just want to know how i can control the size of the new window?
thanks

pyro
02-25-2003, 10:21 AM
You control the size by changing the values in bold

NewWin=window.open("", "NewWin", "resizable=yes,height=200,width=400,top=100,left=50");

gmichal
02-25-2003, 11:52 AM
so where i need to put this line?
in the page that open the secomd one?!
can u write me a small sample?
thanks

pyro
02-25-2003, 12:26 PM
I just took that code from the page (line 60) that you linked to in your first post. You just need to change it there...

gmichal
02-25-2003, 02:11 PM
i know this for this window (newwin) but i want to change the size of the next page of Quoteform.asp
u can see that on line 64 on the form tag....
thank u so much for your time