How is a frame accessed from other frames?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

How is a frame accessed from other frames?

Rating:

The browser window that is opened is a single frame window, which can display only one HTML page. To display multiple HTML pages in a single window, the window is divided into multiple frames. Each frame can be considered as a separate window. The src attribute of the frame tag sets the URL of the HTML file for a particular frame.

The following syntax will create a frame:

<frameset cols="50%,50%">
<frame src="URL of an html file">
<frame src="URL of an html file">
</frameset>


Frames can be accessed by other frames by using the parent or top object.

For example:

top.framename
top.frames[framenumber]

parent.framename
parent.frames[framenumber]


Rating:



Other articles

Click here to Article home

MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW Certification: CIW foundation, CIW Professional, Site Designer    Photoshop ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.
 
HACKER SAFE certified sites prevent over 99.9% of hacker crime.