Open two frames page at a time with a link

Source: Internet
Author: User
Link

Sometimes it is required to use a hyperlink to open two frames at the same time. Let's assume that we're going through the hyperlink to load both the frame page first.htm and the next.htm to a different Frame page window, where the next.htm opens at the window banner (the window name can be similar in the frames page
<frame name= "banner" target= "main" src= "left.htm" > statement.

The onload directive needs to be added to the first.htm:

<body ></body>

Specific form of accession:


<body >
Here are the other contents of the file
</body>

The principle is very simple, Hyperlink 1 open first.htm, and First.htm added onload statement automatically open next.htm to the specified window, so that the use of a link control two frames page function (you can fully play).



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.