-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Bisht5708
Message 5 in Discussion

HI,

you can use like this:

opener.{filedName}.value 

or anything else you want to do like I am resizing the parent window by the child.

==================================
child.html

language="javascript">
function winMaximize(){
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
if (opener.screenX>0 || opener.screenY>0) opener.moveTo(0,0);
if (opener.outerWidth < screen.availWidth)
opener.outerWidth=screen.availWidth;
if (opener.outerHeight < screen.availHeight) 
opener.outerHeight=screen.availHeight;
}else {
opener.resizeTo(screen.availWidth,screen.availHeight);
}
}
}

function winMinimize(){
if (parseInt(navigator.appVersion)>3) {
if (navigator.appName=="Netscape") {
if (opener.screenX>0 || opener.screenY>0) opener.moveTo(0,0);
opener.outerWidth=screen.availWidth-250;
}else {
opener.resizeTo(screen.availWidth-250,screen.availHeight+8);
}
}
}
</script>
</head> 
<body onLoad="winMinimize();" onUnload="winMaximize();"> 

==============================
parent.html

language="javaScript">
function winOpenView(nam){ 
var moveLeft = screen.availWidth - 255;
var winHeight = screen.availHeight - 28; 
var openChild 
=open(nam,'Sec','menubar=no,scrollbars=yes,resizable=no,left='+moveLeft+',top=0,width=250,height='+winHeight+'')
 
}

</script>

openChild

=======================================

Also you can track the child window by giving child window name like this...

openChild.open = true/false

opener

Hope this would help you.

Thanks
Bisht

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDOTNET/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to