Make your own free website on Tripod.com

Month 3 Week 2

Advanced Frames

Extending and Enhancing Frames

One of the simplest ways you can alter frames to make them look better is to remove the unnecessary borders. A page that looks like this (Click Here and Close Window To Return) can be modified to look like this (Click Here and Close Window To Return) with just one addition to your frame document.

Open your frame document and add the following two attributes to your <FRAMESET> tag -

BORDER=0
FRAMEBORDER="0"

Why both? Because some browsers use one, some use the other. Thankfully, most tags work on all computers and the need to "double code" these days is rare.

Another fun and useful modification to frames is controlling whether the person can re-size the window to fit their screen. This is very handy if you are using frames to control the placement of your graphics. To do this, you add to the <FRAME> tag for each frame you don't want re-sized - 

NORESIZE

A final modification controls whether the viewer can scroll down to see more in the frame. Again, this is used mainly for graphics. To try it out, just add to the <FRAME> tag - 

SCROLLING="NO"

So that is frames in a nutshell. Now, are you ready to see something amazing you can do with frames? Click here to move on!

2003, Gnosis 4-H Club
The 4-H name and 4-H logo are service marks protected under 18 U.S.C. 707.

Questions? Comments? Problems? Contact the Webmaster!


Home