Solved

Disable Scrollbars

Posted on 2001-08-20
9
397 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

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

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

773 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