i forogot to mention, this script:

<SCRIPT language="_javascript_" type="text/_javascript_" defer>
<!-- Maximize window
top.window.moveTo(0,0);
top.window.resizeTo(screen.availWidth,screen.availHeight);
// -->
</SCRIPT>


will go in the Head section of the page to be maximized.
Whenever this page is opened it will go to max. size, regardless of screen resolution. It works with IE and FireFox (tested) but it should work with other browsers as well.




[EMAIL PROTECTED]
Sent by: [email protected]

01/09/2006 03:29 PM
Please respond to Easy400Group

       
        To:        [email protected]
        cc:        [email protected]
        Subject:        Re: [Easy400Group] Re: browser window size.




or :


<SCRIPT language="_javascript_" type="text/_javascript_" defer>
<!--
// Show on status bar
window.defaultStatus="Look, i`big!";

// Maximize window
top.window.moveTo(0,0);
top.window.resizeTo(screen.availWidth,screen.availHeight);
// -->
</SCRIPT>



"itpweb1" <[EMAIL PROTECTED]>
Sent by: [email protected]

01/09/2006 02:40 PM
Please respond to Easy400Group

       
       To:        [email protected]

       cc:        

       Subject:        [Easy400Group] Re: browser window size.




Try this bit of _javascript_ to control opening size. If you don't know
your client's the screen size, it gets a bit more complicated.
Do a Google on "Open.resizeTo" property for examples.

var newwindow;
function pop(url)
{
    newwindow=window.open(url,'name','height=800,width=600');
    if (window.focus) {newwindow.focus()}
}


<a href="" up Window</a>


--- In [email protected], [EMAIL PROTECTED] wrote:
>
> Whenever I open a new window with CGIDEV2,  I have to maximize it  
to see the
> entire contents.  Is there a way to open a new window using  
Microsoft
> explorer with the window      already  maximized?
>  
> thanks,
> Jerry Powers
>






YAHOO! GROUPS LINKS



SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer How to format your computer How to format computer


YAHOO! GROUPS LINKS




Reply via email to