Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: when entering a new page in existing window can I change the window properties (specifically allow scrollbars) when I load a new page? F


Message #1 by "Yang, Alan" <ayang@R...> on Wed, 3 Oct 2001 11:41:39 -0400
Can't you try and set <body scroll="yes"> in that particular document that
is opened in the new window?


/Robert


-----Original Message-----
From: peter.edwards@n... [mailto:peter.edwards@n...] 
Sent: den 12 oktober 2001 12:04
To: javascript
Subject: [javascript] Re: when entering a new page in existing window can I
change the window properties (specifically allow scrollbars) when I load a
new page? F


> I have opened a window without scrollbars. I want to know if when I load 
a
> particular page into this window....can I somehow allow scrollbars for
> that particular page?
>  
> I forgor to mention that this is for IE 5 
> 
> Thanks
>  
> Alan Yang (ayang@r...)

I don't think you can (unless you use IE5 specific features). Your options 
are to close the window and open a new one with scrollbars, or open the 
original one with scrollbars. You could use frames as well (scrollbars 
only appear in frames when they need to appear) - place a frameset with a 
zero pixel top frame and bottom frame with your content in it (no borders 
etc.) and see if this works.

  Return to Index