HTML tutorials-Manipulating each window (Frame Target)

Source: Internet
Author: User
Tags window
The contents of several windows that are separated by frames are not static, and often the content of a window changes with the requirements of another window, which improves the value of frames utilization. To complete the interaction between the windows, we must name each window, which is defined with the attribute name.

Window identification (Frame Name)

  <frame src=url name= "window name" > for example: <frame src= "frame/a.html" name= "left" >

The window name is defined, and target is used in conjunction with the target property, which specifies the window in which the linked file appears. The value of target can be either the name definition or the following four class values:

<a Href=url target=_blank> displays a new window
<a Href=url target=_self> displayed in the same window
<a Href=url target=_parent> Display in Frameset's previous file window
<a Href=url target=_top> displayed throughout the browser window


Cases:

<frameset cols=50%,50%>
<frame src= "frame/left.htm" name= "left" >
<frame src= "frame/right.htm" name= "right" >
</frameset>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.