Solved

Hiding the scroll bars

Posted on 1998-11-21
5
321 Views
Last Modified: 2013-12-25
What code do I have to add to a web page in order to hide thw web browser scroll bars (IE4) ?
0
Comment
Question by:alexandram
5 Comments
 
LVL 1

Expert Comment

by:artlantis
ID: 1856634
The code is:

<frameset rows="80%,20%" FRAMEBORDER="NO" BORDER="0" FRAMESPACING="0">
<frame name="Frame_1" src="frame1.htm">
<frame name="Frame_2" src="frame2.htm">
</frameset>

Showing the scroll bar, depends of other's Screen Resolution.
e.g if you worked your web page at 1024x768, and someone has 640x480 it is sure that he'll see the scrolings.
ADVICE
1.Try to work at 800x600 resolution (most people have this resolution)
2.Try not to get the maximum vertical frame space (if you do, it will be the ugly vertical scrolling bar)

Check my site: http://www.intrafood.com/artlantis/index.htm (see how i use frames)
e-mail(for questions): artlantis@hotbot.com
Andreas

0
 

Author Comment

by:alexandram
ID: 1856635
What I am looking for is the code to hide the webbrowser scroll bar. I believe what you are giving me hides the scroll bars within the web pages. Let me know if I'm wrong.
0
 
LVL 1

Expert Comment

by:dagon
ID: 1856636
Only by having the content take up less than a single screen of space can you 'hide' the browsers scroll bars.
0
 

Author Comment

by:alexandram
ID: 1856637
I tried that but it still shows the vertical scroll bar (it is however disabled).  I know there is a way to do this because I have been to web pages in the past that made the scroll bar disapear. In these cases even when going to other pages the scroll bars remained invisible.
Thank you.
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 80 total points
ID: 1856638
You have to open a remote window.  within the remote window command to open it, pass scrollbars=no.

Something like this would work:

<SCRIPT LANGUAGE="javascript">
NewWindow = window.open(Thelocation,"NewWindow","scrollbars=no")
</SCRIPT>

See http://home.ubalt.edu/abento/797/javascript/methods.html#open_window_method

for more.

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question