| Inline
Frames
Inline
frame is a new concept introduced in Internet
Explorer 4 that allows you to create frames that
are embedded inside a document. If you don't know
what I mean, just take a look at the following
example:
Syntax of inline frames
Very simple: <iframe></iframe>
That's it, plus a few attributes. Below lists
the syntax used to create the below example:
<iframe
src="http://www.tripod.com" width=450
height=300"></iframe>
The "src" attribute
specifies the file you want to be shown inside
the <iframe>, and the width and height attributes,
naturally, dictate the dimensions of it.
To
add an iFrame to your document
S set the cursor on the page where you want the
iframe to be displayed. Then select INSERT/IFRAME
from the top menu as shown on the right. In
code view you will see that the Iframe tag has
been added. It should look like this: <iframe></iframe>.
Highlight
the entire tag, in code view, and right click.
A menu pops up. Select EDIT TAG.
The edit tag dialog box appears
showing you all of the attributes available
for this tag as shown below. Here you set the
width, height, alignment and if you want a border
to appear. Click OK after you've made your selections.
Play around with it for a bit to get a feel
for how each of the attributes affect the iframe.

Compatibility issues
As mentioned above, inline frames are only
supported by Internet Explorer 4, so if you have
a large audience of people using Netscape, you
may want to stay away from it. While it is unfortunate
that only Internet Explorer supports the <iframe>
tag, the good news is that all other browsers
will simply ignore it should it bump into <iframe>
No irritating JavaScript errors here!
|