Closed Thread Icon

Preserved Topic: Removing scrollbars from the window (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18550" title="Pages that link to Preserved Topic: Removing scrollbars from the window (Page 1 of 1)" rel="nofollow" >Preserved Topic: Removing scrollbars from the window <span class="small">(Page 1 of 1)</span>\

 
Rooster
Bipolar (III) Inmate

From: the uterus
Insane since: Nov 2002

posted posted 11-06-2002 07:51

I?m trying to find out how to remove the scrollbar from the current browser window. I?ve really only seen this effect implemented on DocOzone?s sites. I have searched and searched throughout his code but I can?t seem to find anything that will give me a hint as to how it?s done.

I know you can suppress the scrollbars when opening a new window with window.open(), but it doesn?t work if you try to reopen ?_self? with ?scrollbars=0?.

Pre-thanks for your time!


mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 11-06-2002 08:07

This will remove scrollbars in IE:

<BODY SCROLL="no">

bla

</BODY>



Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 11-06-2002 14:01

To get the same effect in Mozilla or Netscape 6/7 you need to set this style rule on the body:

body {overflow:hidden}

HZR
Bipolar (III) Inmate

From: Cold Sweden
Insane since: Jul 2002

posted posted 11-06-2002 16:39

overflow:hidden will work in IE too (from version 6 I think, maybe in earlier versions too).
You can also set the overflow to auto which will show the scrollbars only if it's needed.

InI
Paranoid (IV) Mad Scientist

From: Somewhere over the rainbow
Insane since: Mar 2001

posted posted 10-20-2003 12:36

The poster has demanded we remove all his contributions, less he takes legal action.
We have done so.
Now Tyberius Prime expects him to start complaining that we removed his 'free speech' since this message will replace all of his posts, past and future.
Don't follow his example - seek real life help first.

« BackwardsOnwards »

Show Forum Drop Down Menu