Click to See Complete Forum and Search --> : questions....
metrosoccer12
08-12-2003, 10:20 AM
i have a few questions if anyone can help:
1. how do i make a form action open in a certin size popup window?
2. how do i get the window that popups up to close and make a different page appear in the opener?
Khalid Ali
08-12-2003, 10:34 AM
window.open()
is the function that you need to use to opena popup window.
and you will need to use this in the onsubmit attribute of the form element.
I personally do not like to use anything that appears at the window closing ,therefore do not like to share that knowledge as well..
metrosoccer12
08-12-2003, 10:38 AM
well can u tell me how to make a page load in the opener from the child (if thats what they call it) like so when the popup comes up the page changes in the opener
Khalid Ali
08-12-2003, 10:42 AM
The link below does that.
You only have to make sure that you load the new page in the child window at onload where is in the example below I have done this using the onclick event.
http://68.145.35.86/skills/javascripts/CloseParentWindowFromChild.html
metrosoccer12
08-12-2003, 10:47 AM
*confused* i think i know how to close the window all i need is the code to change the parent location
Khalid Ali
08-12-2003, 10:51 AM
lol..but I guess you are not wake..take a look at the child window that opens,there are three links on it.the second one shows you how to open a link in the parent window.
You only have to use that in the onload event of the child window.:D
metrosoccer12
08-12-2003, 11:41 AM
okay i got everything working execpt having the form action open in a certin size popup window with like no scroll and no toolbars... could u explain please?
metrosoccer12
08-13-2003, 03:20 PM
anyone...
metrosoccer12
08-13-2003, 05:59 PM
...