Previous Next blank.gif Home Page

Class Frameset - Define a FRAMESET.


SYNOPSIS

import HTMLgen
class Frameset
  def __init__(self, *contents, **kw)
  string __module__ = 'HTMLgen'
  def __str__(self)
  def append(self, *items)

DESCRIPTION

Framesets can contain either Frames or other Framesets.

def __init__(self, *contents, **kw)

contents is a series of Frame objects, key word arguments supported.

def append(self, *items)

Add Frames to the Frameset.

*items* can be one or more Frame object.

Keywords/Attributes

rows
is a string like "20%,*,20%" stating the number and widths of rows defined for the frames. Widths for each row can be expressed in integer (absolute pixels), percentage (of overall browser window or containing frame), or asterisk(*) to indicate an auto-resized remainder width.
cols
is a string of the same format as above except applied to column widths. There should not be both a rows and cols attribute in the same Frameset tag.
frame_warning
optional flag is available to indicate if a <NOFRAMES> statement should be included with the Frameset to alert browsers without frame support. Default is 1 (yes).
onLoad
is a string of script code, which is executed when the frameset is loaded
onUnload
is a string of script code, which is executed when the frameset is unloaded

SEE ALSO

HTMLgen


Previous Next blank.gif Home Page
Buzz.gif

Copyright © Robin Friedrich
All Rights Reserved
Comments to author: friedrich@pythonpros.com
Generated: Sat Mar 7 1998