AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Pls help fix this script

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Warren
Guest





PostPosted: Fri Aug 15, 2003 4:42 pm    Post subject: Pls help fix this script Reply with 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
Phil
Guest





PostPosted: Fri Aug 15, 2003 9:23 pm    Post subject: Re: Pls help fix this script Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.