[Javascript] turning on scrollbars
BEKIM BACAJ
trojani2000 at hotmail.com
Tue Jan 6 19:56:54 CST 2004
Is it posible that somewhere in the css you have a disabled scrollbars.if
your document css and js are separately stored in some folder for quick
solution Try:
document.body.scroll='auto'/'yes'
"yes" will force the scrollbars to show even if not needed,(they will apear
grayed in this case).
But the problem might bee a lot more stranger, if this does not solve the
problem.
Send some feedback, the problem might be caused by absolutely positioning on
wrong elements etc
you have defined some element of the page as absolutely positioned;
body tag not closed properly;
may happen that you've defined the body of the doc as absolutely positioned
and has dimensions height greater than doc body, your text is inside some
table with one parameter not correctly defined etc.
>From: Dan Anderson <dan at mathjunkies.com>
>Reply-To: "[JavaScript List]" <javascript at LaTech.edu>
>To: "[JavaScript List]" <javascript at LaTech.edu>
>Subject: Re: [Javascript] turning on scrollbars
>Date: Tue, 06 Jan 2004 13:58:53 -0500
>
>On Tue, 2004-01-06 at 12:51, Hassan Schroeder wrote:
> > Dan Anderson wrote:
> >
> > > Is there a way in javascript to turn on and off a scrollbar in a
> > > document after its been loaded?
> >
> > Uh, not sure *why* you'd want to do this, since the scrollbar only
> > appears if the page content won't fit within the viewport, but ...
>
>I have a page that, for whatever reason, renders without scroll bars.
>It's pretty annoying because it's about 1200px long.
>
>Thanks for your help,
>
>Dan
>
>_______________________________________________
>Javascript mailing list
>Javascript at LaTech.edu
>https://lists.LaTech.edu/mailman/listinfo/javascript
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus
More information about the Javascript
mailing list