it simply places a layer at the bottom right of the screen and this reaults
in content being larger that the window.  thus, NS places a scroll bar.

This most simple way of doing this is setting document.height to the exact
size that you want it to be.  Even if this is window.innerHeight+1.

Ramon Buckland wrote:

> Here is a trick I have found that seems to work well
> is Netscape I haven't tested it fully (and it's not my code ;)
>
> In Your BODY Tag
>
> Wack this line, someone could probably explain how it works .. I have no
> idea.
>
> <span id="scrollgenerator"
> style="position:relative;top:100%;left:100%"></span>
>
> It basically forces the Scrollbar to appear..
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 14 February 2001 4:01 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [Dynapi-Help] NS problem.
>
> Am Dienstag, 13. Februar 2001 08:14 schrieben Sie:
>
> > > I have a page that is rendering multiple layers. In NS4.75 I cannot
> > scroll the page. I have tried adding scroll="yes" in the body but
> > that doesn't seem to work. I have the latest snapshot from today.
>
> I did something similar with a little trick:
>
> add:
>
> <script language="JavaScript">
> winH = (is.ns4)? window.innerHeight : 0;
> </script>
> <img src="nothing.gif" height="&winH+1" width=0>
>
> in the body
>
> nothing.gif is a transparent 1x1 pixel gif
>
> Roland
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010






_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to