• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 6. Working with Frames > Creating a return link to the home page

Creating a return link to the home page

You are going to target the Welcome link on this page to the home page. This will allow viewers to return to the home page at any time, and from anywhere in your site.

1.
Select the Welcome link.

2.
In the site window, make sure that Index.html is visible.

3.
In the Text Inspector, click the New Link button, and then use the Point and Shoot button to create a link to Index.html.

4.
This time, in the Text Inspector, choose _parent from the Target pop-up menu.

The _parent option specifies the browser window as the target and causes the browser to change the content of the entire window. The browser will replace the frame set with one pane that shows the home page; it will no longer display the navigation bar or banner.

The other two links have already been done for you.

5.
Save and close the Nav.html file.

6.
Choose File > Save to save Frameset.html.

7.
Be sure that Frameset.html is selected and not one of the frames inside of it. Then choose Special > Show in Browser > [your favorite browser] to open Frameset.html in your browser.

8.
Click each of the links in the Contents pane (select the Welcome link last). The linked pages appear in the Main pane.

Notice that when you click the Welcome link, the site's home page fills the entire browser window. This shows the effect of setting the link's target to _parent. However, you will also notice that nothing happens when you click Enter.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint