Solved

Disable Scrollbars

Posted on 2001-08-20
9
396 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

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

19 Experts available now in Live!

Get 1:1 Help Now