 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Warren Guest
|
Posted: Fri Aug 15, 2003 4:42 pm Post subject: Pls help fix this script |
|
|
Greetings and thanks for helping!
my goal is that when someone accesses www.whatever.com, that a SIZED
pop-up window OPENS, AND the PARENT window closes. Here is what I have:
****START SCRIPT****
function a(){
father = window.self;
father.opener = window.self;
father.close();
}
function openpopup(){
var popurl="poptest.htm"
winpops=window.open(popurl,"","width=400,height=338,")
}
openpopup()
****END SCRIPT****
The OTHER option would be a way to SIZE the PARENT window, i.e. the
FIRST page accesses to a set size.
Thanks in Advance,
warren
|
|
| Back to top |
|
 |
Phil Guest
|
Posted: Fri Aug 15, 2003 9:23 pm Post subject: Re: Pls help fix this script |
|
|
wrong group i think
try javascript folks
"Warren" <warren (AT) NOSPAM-digorig (DOT) com> wrote
| Quote: | Greetings and thanks for helping!
my goal is that when someone accesses www.whatever.com, that a SIZED
pop-up window OPENS, AND the PARENT window closes. Here is what I have:
****START SCRIPT****
function a(){
father = window.self;
father.opener = window.self;
father.close();
}
function openpopup(){
var popurl="poptest.htm"
winpops=window.open(popurl,"","width=400,height=338,")
}
openpopup()
****END SCRIPT****
The OTHER option would be a way to SIZE the PARENT window, i.e. the
FIRST page accesses to a set size.
Thanks in Advance,
warren
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|