How to control the target of a link within a page frame page

Source: Internet
Author: User
Control | links | Web page

  How to control the target of a link within a page frame page

To use a link in one frame to open a document in another frame, you must set the link target. The target property of the link specifies the frame or window in which to open the linked content.

For example, if your navigation bar is in the left frame and you want the linked material to appear in the main content frame on the right, you must specify the name of the primary content frame as the target for each navigation bar link. When a visitor clicks the navigation link, the specified content is opened in the main frame.

  To set the target framework, do the following:

    1. In Design view, select the text or object.
    2. In the link field of the Property Inspector (Window > properties), do one of the following:
    • Click the folder icon and select the file you want to link to.
    • Drag the point to file icon to the files panel to select the file you want to link to.

In the target pop-up menu of the property Inspector, select the Frame or window in which the linked document should appear:

    • _blank opens the linked document in a new browser window while keeping the current window unchanged.
    • _parent opens the linked document in the parent frameset of the linked frame, replacing the entire frameset.
    • _self opens the link in the current frame, replacing the contents of the frame.
    • _top opens the linked document in the current browser window, replacing all frames.

The frame name also appears in the menu. Select a named frame to open the linked document in the frame.

Note: Displays the frame name only when you edit the document within the frameset. The frame name does not appear in the Target pop-up menu when you edit the document in the document window of the document itself. If you are editing a document outside the frameset, you can type the name of the target frame into the destination text box.

Hint: If you are linking to a page outside your site, always use target= "_top" or target= "_blank" to ensure that the page does not appear as part of your site.



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.