Avatar of Mach1pro
Mach1pro asked on

Make main page of frame scroll

I have a basic frames page with 3 frames. I don't want scroll bars or borders inside the frames, but I do want the entire webpage to scroll up and down so the user can see everything. I can't seem to get the outer page to scroll.
HTML

Avatar of undefined
Last Comment
Jason C. Levine

8/22/2022 - Mon
Robin

Do you have an example online we can look at?
Jason C. Levine

Hi Mach1pro,

There isn't a good way to do this with HTML.  Scrollbars are sort of a necessary evil.

You could switch to a pure Flash page and use graphic elements and actionscript to control scrolling, though.
ASKER
Mach1pro

I'm not good using Flash and my frame pages are asp.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Jason C. Levine

ASP is the server side scripting, but your pages are still displayed with HTML.

In short, I don't think you can do what you want.  
b0lsc0tt

What is your html?

Scroll bars are an important part of a page, even frames.  However the frame tag does have the scrolling property/attribute.  You can use the value "no" to turn off scrolling for that frame.  It seems to be pretty well supported.

<frame scrolling="no">

I believe there is a similar option in CSS.

Please provide your html or a sample of it (for the main page) if you need more details on this.

bol
b0lsc0tt

By the way ... the scrolling option make work better if your frame and frameset is an iframe instead.  Also ... without scrolling there will be no way to see content in the frames that doesn't fit in the area you allow.

bol
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
ASKER
Mach1pro

I don't have a problem with turning scrolling on or off inside an individual frame. The problem is I have a dynamic list on the left frame from which a user clicks on a link that sends a variable to an asp in the main page. I don't want to have the left page have to refresh everytime, thus I use the frames. But, I don't really want a scroll bar because of its looks and it would be better to have it look like one big page.  without the scroll bar, you can't see the entire list because the page height is limited to screen. what I want is to be able to scroll the entire frameset up and down.
Jason C. Levine

>> But, I don't really want a scroll bar because of its looks and it would be better to have it look like one big page.  

You're out of luck, then.

Your choices are very limited...you can use Flash and make the flash movie scroll on it's own, or you live with browser-generated scrollbars, or you design your page and data so that it will always fit no matter what (paginate the data).
ASKER CERTIFIED SOLUTION
b0lsc0tt

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
b0lsc0tt

Yes.  Thanks for clarifying that in case my comment was misunderstood.

bol
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER
Mach1pro

After spending a couple hours playing with IFrame code and getting used to it, it looks like this will be my best option.
b0lsc0tt

I'm glad I could help.  Thanks for the grade, the points and the fun question.

bol
Jason C. Levine

Agreed.  Good question and nice working with you, b0lsc0tt.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.