Solved

My scrollbars disappear in my frames?

Posted on 2000-02-25
4
173 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anyone familiar with PhotoSwipe? 3 41
Hide and Unhide Table 6 42
CSS for Popup in ASP.NET 4 48
Error Handler 8 42
This article discusses how to create an extensible mechanism for linked drop downs.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

732 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