Solved

My scrollbars disappear in my frames?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Showing your events from Google Calendar in Google Maps Why? I travel all week and I thought it would be ideal if staff in office knew where I was based on my calendar. (OK real reason: my son wanted to see where I would be working, and I thoug…
This article discusses four methods for overlaying images in a container on a web page
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
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 …

863 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

22 Experts available now in Live!

Get 1:1 Help Now