Scrolling

While you just learned ways to modify the <frameset> tag, you can also modify the <frame> tag. Two of the ways you can modify the frame is to either allow or disallow resizing and allow or disallow scrolling. We'll deal with scrolling first.

SCROLLING
As you may have seen, sometimes a frame will allow you to scroll up and down, and sometimes it won't. You can control whether the scrollbar will show up or not by using the scrolling command.

The scroll command has three alternatives. Scrolling can be listed as YES, NO, or AUTO. In the YES alternative, thre will be a scrollbar, whether it's needed or not. In the NO setting, there will be no scrollbar, even if it's needed. The safest setting is also the default, which is AUTO. AUTO lets the computer decide whether a scrollbar is needed. Here are examples of each:
<html>
<head></head>
<frameset rows="33%,33%,*">
      <frame src="yesframe.html" SCROLLING=YES>
      <frame src="noframe.html" SCROLLING=NO>
      <frame src="autoframe.html" SCROLLING=AUTO>
</frameset>
</html>
These commands produce this page.

Back Home Forward