Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Single Window Frames

  • Popup windows are cool, but single-window frames are what really took off with Netscape Navigator 2.0

  • Single-window frames allow you to divide up a single browser window into separate browsers, each able to load unique HTML documents and each named and targetable by each other.

  • You have already seen a frame-based page in the introduction, so we won't waste any more time, and get right into the details...

  • Frames are specified using the <FRAMESET>, <FRAME> and <NOFRAME> tags and various attributes for each.

  • The table below outlines the functions of each

TAG ATTRIBUTES DESCRIPTION
<FRAMESET> - </FRAMESET> The main frame definition tag. This tag tag replaced <BODY>
ROWS Defines the size and number of rows using a comma-delimited list of height values either in absolute pixels or as a percentage of the total usable area.
COLS Defines the size and number of columns using a comma-delimited list of width values either in absolute pixels or as a percentage of the total usable area.
<FRAME> Defines a single frame within a frameset. There is no closing tag
SRC Defines the HTML source document that should be loaded into a frame. It takes a URL just as the HREF attribute in the <A> tag.
NAME Specifies the name that will be used to identify the frame by other frames or other windows. This can be any text string, but try to make it meaningful such as "table_of_contents_frame". Several key names have been reserved. These are _blank, _self, _parent, and _top. So don't use these unless you mean to reference those particular frames
MARGINWIDTH Sets a horizontal margin of the given number of pixels.
MARGINHEIGHT Sets a vertical margin of the given number of pixels.
SCROLLING This attribute is used to manipulate a scroll bar within the frame. It can be set to YES, NO, or AUTO. If it is set to yes, there will always be a scrollbar. If it is set to no, there will never be a scrollbar. And if it is set to AUTO, a scrollbar will appear only when needed (ie: the user resizes the frame)
NORESIZE This attribute prevents the user from resizing the frame.
<NOFRAME> - </NOFRAME> Specifies content in case the browser viewing the document does not support frames. It is a very good idea to make sure that your site navigation works with or without frames.

Additional Resources:

Creating Popup Browser Windows
Introduction to Web Design | Table of Contents
Column Frames


Up to => Home / Authoring / HTML / Tutorial




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers