Solved

My scrollbars disappear in my frames?

Posted on 2000-02-25
4
167 Views
Last Modified: 2010-04-09
Hi.....
I have a web page that uses frames, all is ok at the start, but when I target
another page into it, the scrollbars disapear.
Why?
The New page has more than enough data to cause scrolling.
scrolling=yes
in the calling frameset.
regards
0
Comment
Question by:rickyr
  • 2
4 Comments
 
LVL 4

Accepted Solution

by:
dovcamp earned 50 total points
ID: 2559516
The default is to for scrolling to be on so you don't even need to add scrolling=yes.  Is it possible that in the calling framset your are putting the attribute in for the wrong frame and that the frame that you want to scroll has scrolling=no in it?

Here is an example of a framseset page where only the main frame should scroll:

<frameset rows="64,*">
  <frame name="banner" scrolling="no" noresize target="contents" src="banner.html">
  <frameset cols="150,*">
    <frame name="contents" scrolling="no" src="contents.html" target="main">
    <frame name="main" src="main.html">


0
 
LVL 2

Expert Comment

by:webcs
ID: 2561375
Get rid of the scrolling=yes settings alrogether.
They are not needed and in fact are not good programming.

If the user's screens needs scrollbars they will automatically
be added if you dont even include the setting and will be
taken away if they are not.

Adding the scroll setting will confuse some browsers, especially
netscape so leave them out all together.  Sometimes a browser
wont recognize them so even if you changed and said scrolling=yes
it will ignore it.  

That should solve your problem.
0
 
LVL 3

Author Comment

by:rickyr
ID: 2564257
Sorry webcs, gotta give it to dovcamp, he/she was first.
0
 
LVL 3

Author Comment

by:rickyr
ID: 2564260
Thanks
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
jquery, html5 UI 1 47
Jquery remove certain link from page and/or remove text 17 28
Link SQL table to Webpage 9 37
SVG Logo 4 18
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
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…

708 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

11 Experts available now in Live!

Get 1:1 Help Now