Link to home
Start Free TrialLog in
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.
Avatar of Robin Uijt
Robin Uijt
Flag of Netherlands image

Do you have an example online we can look at?
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.
Avatar of Mach1pro
Mach1pro

ASKER

I'm not good using Flash and my frame pages are asp.
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.  
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
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
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.
>> 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
Avatar of b0lsc0tt
b0lsc0tt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Yes.  Thanks for clarifying that in case my comment was misunderstood.

bol
After spending a couple hours playing with IFrame code and getting used to it, it looks like this will be my best option.
I'm glad I could help.  Thanks for the grade, the points and the fun question.

bol
Agreed.  Good question and nice working with you, b0lsc0tt.