Currently I am working in a JavaScript application. In this application two html, Parrent.html and Child.html file are there. Parent html has one link, on clicking that link we have to open the Child html page in a new window. When the Child html is open in a new window it should open in the left side (50% of the whole window screen) and the Parent html should occupy the other 50% in the right side of the window screen. When the child window is closed the parent window should appear in its original size. Now in Internet Explorer 7 the resizing is only effective when a single tab is open or when tabbed browsing is disabled. Now I am looking on that issue. Thanks in Advance.
That is really annoying.. what is it for? If it is an info box or many other things, you can just use a div that stays on the top of the page. You can make it act like a window by giving it a "title bar" and can even allow users to drag it around etc.
Here is the code ,its working fine in FireFox with tabs.But the resizing functionality is not working in IE7 with tabs. [U]Parent.html[/U] <html> <script language='javascript'> function openChild(){ var wd=self.screen.width/2; var ht=(self.screen.height); self.resizeTo(wd,ht); window.open('child.html','Win','width='+wd+',height='+ht+',top=0,left='+wd+',scrollbars=yes,menubar=yes,statusbar=yes' ); } </script> <form name='form1'> <b>Parrent Window<b> <a href='#' onclick="openChild()">Click here</a> </form> </html> Child.html <html> <body onunload="javascriptpener.resizeTo(self.screen.width,self.screen.height)"> <b>Child window<b> </body> </html> Please help me to solve thiss problem....