?
Solved

My scrollbars disappear in my frames?

Posted on 2000-02-25
4
Medium Priority
?
177 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
Suggested Courses

764 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