Solved

Hiding the scroll bars

Posted on 1998-11-21
5
320 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now