Solved

My scrollbars disappear in my frames?

Posted on 2000-02-25
4
171 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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 how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

821 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