Solved

Disable Scrollbars

Posted on 2001-08-20
9
400 Views
Last Modified: 2009-07-29
How I disable the horizontal and/or vertical scrollbars for my page in my code?
0
Comment
Question by:palare98
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
9 Comments
 
LVL 15

Expert Comment

by:a.marsh
ID: 6407923
You will need to load your page in frames:

<html>
<head>
</head>
<frameset rows="100%,*" frameborder="no" border="0">
<frame src="your_current_page.html" scrolling="no">
</frameset>
</html>


:o)

Ant
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6407927
You might want to change the opening frameset tag to:

<frameset rows="100%,*" border="0" frameborder="no" framespacing="0">


:o)

Ant
0
 

Author Comment

by:palare98
ID: 6407978
There is no way to do it without using frames?
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Expert Comment

by:Ernest022699
ID: 6408342
It is generally not a good idea to disable scrollbars.  You cannot be sure what size screens your users are going to have.  Hiding something off-screen (for example)usually backfires.  What is it you really want to accomplish?
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6408771
Frames is the only way of doing what you want (AFAIK).

:o)

Ant
0
 

Author Comment

by:palare98
ID: 6410598
I'm trying to make a popup window that has no menus or toolbars and no scrollbars.  It is a fairly small window.  I don't think that I am going to run into people having their screen resolution set too low.
0
 
LVL 15

Accepted Solution

by:
a.marsh earned 100 total points
ID: 6410873
Ah!!

Well in that case you can use "scrollbars=0" in the option string for the window.open call.

Look at:

http://www.devguru.com/Technologies/ecmascript/quickref/win_open.html

for more info.

:o)

Ant
0
 

Author Comment

by:palare98
ID: 6411468
Thanks.  That's exactly what I needed.
0
 
LVL 15

Expert Comment

by:a.marsh
ID: 6412349
Glad to help.

:o)

Ant
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

726 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