11.12.2012 Views

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

JavaScript 2.0-The Complete Reference, Second ... - freecodingtutorial

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Two Frames<br />

<br />

<br />

<br />

<br />

<br />

<br />

<br />

within the navigation window, you might set a variable to reference the content frame like so:<br />

var contentFrame = parent.frames[1]; // or reference by name<br />

This way you could just reference things by contentFrame rather than the long array path.<br />

Inline Frames<br />

One variation of frames that deserves special attention is the or inline frame. <strong>The</strong><br />

idea with an inline frame is that you can add a frame directly into a document without using a<br />

frameset. For example,<br />

<br />

<br />

<br />

Iframe<br />

<br />

<br />

<br />

Regular Content here

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!