CalHTMLPane v2.0 Guide Example Tag Usage


3: Frames

Tag: IFRAME

Synopsis:
Creates an inline frame which can be dynamically updated with documents. See the HTML4.0 spec for details. Placing an IFRAME in your document is much like placing an image. For this reason the hspace and vspace attributes are supported in addition to the usual frame attributes.

Always remember to use the closing </IFRAME> tag. Content between the opening and closing tags is for HTML viewers which do not support inline frames, and you will lose the rest of the document if you omit the closing tag (not just in the CalPane, but in browsers such as IE4 as well).

Example:

<IFRAME hspace=4 vspace=4 align=left src="newsflash.html"
  width=400 height=300 name=myiframe></IFRAME>
This is a floating inline frame. Text will wrap around it as normal. Note
that the frame will handle its own internal links or it can be updated
externally. <BR clear=left>
<P align=center><A href="techupdate.html" target=myiframe>
Press here to update the frame with a new document</A><BR>

Rendering:

This is a floating inline frame. Text will wrap around it as normal. Note that the frame will handle its own internal links or it can be updated externally.

Press here to update the frame with a new document

Guide Index  |  JavaDoc  |  Previous  |  Next